Druid is a high-performance, column-oriented, distributed data store that allows users to query and analyze large volumes of data in real-time. Here is a step-by-step guide that will help you install Druid on your Windows 11 machine.
The first thing you need to do is to download the Druid distribution from the official website (http://druid.io/). You can download the latest version of Druid from the download section of the website.
Once you have downloaded the Druid distribution, extract the archive to your desired location. You can use any archive extracting tool, for example, 7-Zip.
Next, you need to set the environment variables for Druid. In the search bar of the Windows 11 taskbar, type "Environment Variables". Under the "System Properties" section, click on "Edit the system environment variables".
In the System Properties window, click on the "Environment Variables" button.
Under "User variables" section, click on "New" and set the following variables:
Variable Name | Variable Value |
---|---|
JAVA_HOME | path\to\your\JDK\installation |
MAVEN_HOME | path\to\your\Maven\installation |
DRUID_HOME | path\to\your\druid\extracted\directory |
Make sure to replace "path\to\your\JDK\installation", "path\to\your\Maven\installation", and "path\to\your\druid\extracted\directory" with the actual file system paths on your local machine.
Click on "Ok" to save the environment variables.
Open the command prompt and navigate to the root directory of the extracted Druid distribution folder.
Run the following command to build the Druid distribution:
mvn clean install -DskipTests
After the build is successful, run the following command to start the Druid services:
java `cat conf/druid/_common/common.runtime.properties | tr '\n' ' '` -cp "conf/druid/_common:conf/druid/historical:conf/druid/coordinator:conf/druid/overlord:lib/*" io.druid.cli.Main server coordinator
This will start the Druid coordinator and you should see the Druid console in the browser at http://localhost:8081/.
Congratulations! You have successfully installed Druid on your Windows 11 machine. You can now start exploring and analyzing data in real-time using Druid.
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!