How to Install Druid on Linux Mint

The following tutorial will guide you through the process of installing Druid on Linux Mint (latest)

Prerequisites

Before we start installing Druid, make sure you have the following:

Step 1: Download Druid

First, download Druid from the official website (http://druid.io/). Choose the desired version and download the tarball archive.

Alternatively, you can use the following command to download Druid from the command line:

$ wget http://static.druid.io/artifacts/releases/druid-x.y.z.tar.gz

Note: Replace "x.y.z" with the version number you want to install.

Step 2: Extract Druid

After downloading the tarball archive, extract its contents to a directory of your choice. You can use the following command to extract the archive:

$ tar -xvzf druid-x.y.z.tar.gz

Note: Replace "x.y.z" with the version number you downloaded.

Step 3: Set Environment Variables

To use Druid, you need to set some environment variables. To do so, open the file bashrc located in your home directory:

$ nano ~/.bashrc

Add the following lines at the end of the file:

export DRUID_HOME=/path/to/druid
export JAVA_HOME=/path/to/jdk
export PATH=$PATH:$DRUID_HOME/bin

Note: Replace /path/to/druid with the path to the directory where you extracted Druid, and /path/to/jdk with the path to your Java Development Kit installation.

Exit the editor and run the following command to apply the changes:

$ source ~/.bashrc

Step 4: Configure Druid

Druid comes with a default configuration file, located in DRUID_HOME/conf/druid/_common/common.runtime.properties. You can edit this file to configure Druid according to your requirements.

Step 5: Start Druid

To start Druid, run the following command:

$ druid.sh start

You can also stop Druid using the following command:

$ druid.sh stop

Conclusion

Congratulations! You have successfully installed Druid on your Linux Mint system. You can now use Druid to build real-time data applications. For more information, refer to the Druid documentation (http://druid.io/docs/latest/).

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!