Druid is an open-source data store designed for real-time analytics. In this tutorial, we will learn how to install Druid on FreeBSD Latest.
Before we begin, make sure your FreeBSD system is up-to-date using the following command:
pkg update && pkg upgrade
Druid requires Java 8 or higher to run. To install Java on FreeBSD, use the following command:
pkg install openjdk8
This will install the necessary Java Runtime Environment (JRE) on your system.
Next, we need to install Apache Maven to build the Druid package. To do so, type the following command:
pkg install maven
Now, download the latest version of Druid using the following command:
wget https://github.com/apache/druid/archive/apache-druid-0.20.0-incubating.tar.gz
Once the download is complete, extract the compressed file using the following command:
tar -xzvf apache-druid-0.20.0-incubating.tar.gz
Next, navigate to the extracted Druid directory:
cd druid-apache-druid-0.20.0-incubating/
Use the following command to build the Druid package:
mvn clean install -DskipTests=true
This will create a Druid package inside the distribution/target
directory.
Navigate into the conf
directory:
cd distribution/target/druid-0.20.0-incubating/conf/
Here, you will find several configuration files. Modify the druid.common.runtime.properties
and druid.router.properties
files to suit your requirements by specifying the database details and other settings.
Finally, start Druid by executing the following command:
./bin/start-micro-quickstart
This will start the Druid services and the Druid console.
In this tutorial, we learned how to install Druid on FreeBSD Latest. We also saw how to configure Druid and started its services. Now, you can use Druid to store and analyze data with ease.
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!