How to Install Druid on Fedora Server

Druid is a high-performance, column-oriented, distributed data store that's designed for OLAP (Online Analytical Processing) queries on large-scale datasets. In this tutorial, we'll learn how to install Druid on Fedora Server Latest.

Prerequisites

Before we proceed, make sure you have the following:

Step 1: Install Dependencies

Before we can install Druid, we must first install the necessary dependencies. Run the following command to update the package list:

sudo dnf update

Now, install the following packages:

sudo dnf install java-1.8.0-openjdk-devel wget

Step 2: Download Druid

The next step is to download Druid. Go to the Druid website and download the latest version of Druid:

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

Once the download is complete, extract the contents of the tarball:

tar -xvf apache-druid-0.21.0-bin.tar.gz

This will create a apache-druid-0.21.0 directory in your current directory.

Step 3: Configure Druid

In order to configure Druid, we need to create a config directory in the apache-druid-0.21.0 directory. Run the following command to create the config directory:

mkdir apache-druid-0.21.0/conf

Now, copy the sample configuration files from the conf-quickstart folder to the config folder:

cp -r apache-druid-0.21.0/conf-quickstart/* apache-druid-0.21.0/conf/

Step 4: Start the ZooKeeper Service

Druid requires a running ZooKeeper service. To start ZooKeeper, open a new terminal window and run the following command:

zkServer.sh start

ZooKeeper will now be running in the background.

Step 5: Start the Druid Services

We are now ready to start the Druid services. Open a new terminal window and navigate to the apache-druid-0.21.0 directory. Run the following command to start the Druid services:

./bin/start-single-server.sh

This will start the Druid Coordinator, Historical, and Broker services.

Step 6: Verify the Installation

To verify that Druid is functioning correctly, open a web browser and navigate to http://localhost:8081. This should bring up the Druid Console, which provides an overview of the Druid cluster.

Congratulations! You have successfully installed Druid on your Fedora Server. You can now start exploring Druid and using it to process large-scale datasets.

Conclusion

In this tutorial, we learned how to install Druid on a Fedora Server Latest installation. Now that you have Druid up and running, you can start exploring its features and capabilities. If you encounter any issues during the installation process, refer to the Druid documentation or seek assistance from the Druid community.

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!