How to Install Druid on MXLinux Latest

In this tutorial, we will be guiding you through the process of installing Druid on your MXLinux Latest.

Before we begin, it’s essential to know that the Druid requires the following before installation:

Once you meet these requirements, let's get started:

Step 1: Update and Upgrade System Packages

Open the Terminal app on MXLinux Latest and enter the following command to update and upgrade the system packages:

sudo apt-get update && sudo apt-get upgrade

You will need to enter your password to proceed.

Step 2: Install Java

As mentioned before, Druid requires Java to run. To install Java on your system, execute the following command:

sudo apt-get install openjdk-8-jdk

Step 3: Download Druid

Visit the official Druid Download page via the following link: http://druid.io/downloads.html

Under the "Latest Stable Release" section, click on the link to download the Druid distribution. The file will be downloaded in .tar.gz format.

Once the download is complete, navigate to the Downloads folder within your Terminal:

cd Downloads/

Step 4: Extract the Directory

In this step, we will extract the downloaded Druid directory. Execute the following command to extract the Druid directory:

tar -xvzf druid-*.tar.gz

This command will extract the Druid directory and store it in a new directory named druid-*.

Step 5: Add Druid User

To run Druid, create a new Linux user account for Druid. You can create a new user by typing the following command:

sudo useradd -r -m -U -d /opt/druid -s /bin/false druid

Step 6: Move Druid Files

In this step, we will move the extracted Druid directory to the /opt directory. Execute the following command to move the Druid directory:

sudo mv druid-* /opt/druid

Step 7: Set Permissions

In this step, we will set the Druid’s directory permission to druid user. Execute the following command:

sudo chown -R druid:druid /opt/druid

Step 8: Start Druid

In this step, we will start the Druid service by running the following command:

sudo /opt/druid/bin/start-micro-quickstart

Druid will take a few minutes to start-up, and once it’s complete, you should see a log message:

INFO [main] io.druid.cli.Main - Services started in [xxx.xxxs]

You can verify Druid installation and running service on your machine by hitting your system’s IP address followed by Druid service port number (8081) in your web browser:

http://your_machine_IP_address:8081/

Congratulations! You have successfully installed and configured Druid on your MXLinux Latest system.

Conclusion

The Druid is a powerful data store that is gaining popularity among application developers, data analysts, and machine-learning experts. Installation of Druid is followed by its web interface verification. Druid has excellent documentation and provides comprehensive user guides, tutorials, and use cases. They include Druid concepts, architecture, ingestion, querying, and configurations. Check out their website for more details.

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!