Druid is a real-time analytical data store designed to quickly process large volumes of data. If you're looking for a tool to help you query data in real-time, Druid is a great option to consider. In this tutorial, we'll walk you through the steps to install Druid on Elementary OS.
Before getting started, ensure that you have the following:
Druid is a Java application, so it needs a Java Virtual Machine (JVM) to run. You can install the default version of OpenJDK using the following command:
sudo apt install default-jdk
To verify that Java has been installed successfully, run the following command:
java -version
This should display the version of OpenJDK installed on your system.
Druid uses Apache ZooKeeper as a distributed coordination service. Install ZooKeeper using the following command:
sudo apt install zookeeperd
Once installed, start ZooKeeper using the following command:
sudo systemctl start zookeeper
To verify that ZooKeeper is running, run the following command:
sudo systemctl status zookeeper
To install Druid, follow the steps below:
Go to http://druid.io/ and download the latest version of Druid.
Extract the downloaded file:
tar -xzf druid-*.tar.gz
Move the extracted directory to the appropriate location (e.g., /opt
):
sudo mv druid-*/ /opt/druid
Set the DRUID_HOME
environment variable by adding the following line to your ~/.bashrc
file:
export DRUID_HOME=/opt/druid
Then, run the following command to apply the changes:
source ~/.bashrc
That's it! You've successfully installed Druid on Elementary OS. Now, you can start exploring the powerful features of Druid to handle your data analysis needs.
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!