Druid is a high-performance, column-oriented, distributed data store. It is designed to handle large amounts of data and provide fast access to it. In this tutorial, we will go through the steps to install Druid on Manjaro.
Before we begin the installation process, make sure that your system has the following packages installed:
You can install the required packages by running the following command in your terminal:
sudo pacman -S jdk8-openjdk maven git
Clone the Druid repository from its official GitHub page using the following command:
git clone https://github.com/apache/druid.git
Navigate to the cloned directory:
cd druid
Build the Druid distribution package using Apache Maven:
mvn clean install -DskipTests
This will take some time to complete. Once the build process is finished, the Druid distribution package will be created.
Extract the Druid distribution package using the following command:
tar -xvf distribution/target/apache-druid-0.22.1-incubating-bin.tar.gz
Note: the version number may be different depending on the latest release.
Move the extracted Druid directory to the "/opt" directory:
sudo mv apache-druid-0.22.1-incubating /opt/druid
Note: if the "opt" directory does not exist, create it using the following command:
sudo mkdir /opt
Set the DRUID_HOME environment variable by updating the ".bashrc" file:
sudo nano ~/.bashrc
Add the following line at the end of the file:
export DRUID_HOME=/opt/druid
Save and close the file.
Re-source the ".bashrc" file to update the environment variable:
source ~/.bashrc
Verify that Druid is installed correctly by running the following command:
$DRUID_HOME/bin/start-micro-quickstart
This will start the Druid Quickstart guide. You can access the Druid web console by visiting http://localhost:8888.
Congratulations! You have successfully installed Druid on your Manjaro system. You can now start using Druid to manage large amounts of data and perform fast queries.
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!