How to Install Druid on Fedora CoreOS

This tutorial will guide you through the process of installing Druid, an open-source data store and analytics platform, on Fedora CoreOS.

Prerequisites

Before you begin with the installation process, you need to have the following prerequisites in place:

Step 1 - Install Java

Druid requires Java 8 or higher to be installed. Fedora CoreOS comes with OpenJDK pre-installed, but we will install Oracle's Java for this tutorial.

First, update the system packages of Fedora CoreOS to the latest version:

sudo dnf update -y

Then, install the Oracle Java Development Kit (JDK) 11 using the following command:

sudo dnf install -y oracle-jdk11-installer

You can verify the installation by checking the installed Java version:

java -version

The output should display the installed Java version.

Step 2 - Download Druid

You can download the latest version of Druid from the official website or using the following command:

wget https://downloads.apache.org/druid/0.20.0/apache-druid-0.20.0-bin.tar.gz

Step 3 - Extract Druid

Once the download is complete, extract the downloaded package using the following command:

tar -xzf apache-druid-0.20.0-bin.tar.gz

Step 4 - Configure Druid

Druid needs to be configured before it can be used. Create a new Druid configuration file in the conf directory of the extracted Druid package, using the following command:

cd apache-druid-0.20.0
cp conf/druid/_common/common.runtime.properties conf/druid/_common/common.runtime.properties.original
cp conf/druid/_common/common.runtime.properties.example conf/druid/_common/common.runtime.properties

Step 5 - Start Druid Services

Now that you have Druid installed and configured, you can start the necessary services to run Druid.

Run the following command to start the coordinator, overlord, and MiddleManager services:

./bin/start-micro-quickstart

You can also run the following command to start Druid as a single node cluster:

./bin/start-druid

Step 6 - Verify Druid Installation

To verify that Druid is installed and running correctly, open a web browser and visit the following URLs:

If you are running Druid on a remote server or Virtual Machine, replace localhost with the IP address or domain name of the server.

Conclusion

In this tutorial, you learned how to install Druid on Fedora CoreOS and start the necessary services to run Druid. You can now start using Druid to store and analyze data.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!