Druid is an open-source analytics data store designed for high-performance slice-and-dice analytics on large data sets. This tutorial will guide you on how to install Druid on NetBSD.
Before we proceed, make sure that you have the following prerequisites:
Druid requires some dependencies to be installed before it can be installed on NetBSD. Run the following command to install the required dependencies:
$ pkgin update
$ pkgin install bash curl tar unzip gzip zip rsync
Download the latest version of Druid from the official website http://druid.io/ or use the following command to download it:
$ curl -O https://downloads.apache.org/druid/0.20.0/apache-druid-0.20.0-bin.tar.gz
Next, extract the downloaded file using the following command:
$ tar -xvf apache-druid-0.20.0-bin.tar.gz
Next, you need to configure Druid by modifying some configuration files. Change into the extracted directory using the following command:
$ cd apache-druid-0.20.0
Now, edit the conf/druid/_common/common.runtime.properties
file and modify the following properties:
druid.zk.service.host=localhost:2181
druid.metadata.storage.type=zookeeper
druid.metadata.storage.connector.host=localhost:2181
Next, edit the conf/druid/broker/runtime.properties
file and modify the following properties:
druid.service=druid/broker
druid.port=8080
druid.server.maxSize=100000000
druid.broker.cache.useCache=false
druid.broker.cache.populateCache=false
druid.broker.cache.populateEntireCacheOnStartup=false
Finally, edit the conf/druid/cluster/runtime.properties
file and modify the following properties:
druid.service=druid/cluster
druid.cluster.type=local
You can start Druid using the following command:
$ ./bin/start-micro-quickstart
This will start Druid with the default configuration. You can access the Druid console by opening the following URL in your browser:
http://localhost:8081/
In this tutorial, you have learned how to install Druid on NetBSD. Now, you can start using Druid to analyze large data sets. If you face any issues, you can refer to the official documentation of Druid or reach out to the Druid community for help.
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!