This tutorial will guide you through the process of installing Druid, an open-source data store and analytics platform, on Fedora CoreOS.
Before you begin with the installation process, you need to have the following prerequisites in place:
Druid requires Java 8 or higher to be installed. Fedora CoreOS comes with OpenJDK pre-installed, but we will install Oracle's Java for this tutorial.
First, update the system packages of Fedora CoreOS to the latest version:
sudo dnf update -y
Then, install the Oracle Java Development Kit (JDK) 11 using the following command:
sudo dnf install -y oracle-jdk11-installer
You can verify the installation by checking the installed Java version:
java -version
The output should display the installed Java version.
You can download the latest version of Druid from the official website or using the following command:
wget https://downloads.apache.org/druid/0.20.0/apache-druid-0.20.0-bin.tar.gz
Once the download is complete, extract the downloaded package using the following command:
tar -xzf apache-druid-0.20.0-bin.tar.gz
Druid needs to be configured before it can be used. Create a new Druid configuration file in the conf
directory of the extracted Druid package, using the following command:
cd apache-druid-0.20.0
cp conf/druid/_common/common.runtime.properties conf/druid/_common/common.runtime.properties.original
cp conf/druid/_common/common.runtime.properties.example conf/druid/_common/common.runtime.properties
Now that you have Druid installed and configured, you can start the necessary services to run Druid.
Run the following command to start the coordinator, overlord, and MiddleManager services:
./bin/start-micro-quickstart
You can also run the following command to start Druid as a single node cluster:
./bin/start-druid
To verify that Druid is installed and running correctly, open a web browser and visit the following URLs:
If you are running Druid on a remote server or Virtual Machine, replace localhost
with the IP address or domain name of the server.
In this tutorial, you learned how to install Druid on Fedora CoreOS and start the necessary services to run Druid. You can now start using Druid to store and analyze data.
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!