How to Install Druid on macOS

Introduction

Druid is an open-source data store designed for sub-second queries on real-time and batch data. In this tutorial, we will guide you through the installation process of Druid on macOS.

Prerequisites

Steps

  1. Open Terminal on your macOS by using Spotlight or accessing it from the Applications > Utilities folder.

  2. Install Druid from Homebrew by running the following command:

brew install druid
  1. Verify the installation by running the following command:
druid version
  1. Download the Druid configuration files from the official website using the following command:
curl -O https://druid.apache.org/files/druid-0.18.2-bin.tar.gz
  1. Extract the downloaded files to the /opt directory using the following command:
sudo tar -zxvf druid-0.18.2-bin.tar.gz -C /opt
  1. Set the DRUID_HOME environment variable to the extracted Druid directory using the following command:
export DRUID_HOME=/opt/druid-0.18.2
  1. Start the Druid cluster by running the following command:
cd $DRUID_HOME && ./bin/start-micro-quickstart
  1. Open a web browser and go to http://localhost:8888 to access the Druid console.

Congratulations! You have successfully installed Druid on your macOS device. You can now start querying real-time and batch data by creating Druid data sources and ingesting data into the Druid cluster.

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!