Skip to content

Instantly share code, notes, and snippets.

@tankhuu
Created August 4, 2019 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tankhuu/8a5de3f5051334efc68b781839b0ea53 to your computer and use it in GitHub Desktop.
Save tankhuu/8a5de3f5051334efc68b781839b0ea53 to your computer and use it in GitHub Desktop.
Apache Druid
# Install JDK 8
wget https://s3-ap-southeast-1.amazonaws.com/software/jdk-8u212-linux-x64.rpm
sudo rpm -Uvh jdk-8u221-linux-x64.rpm
java -version
# Setup Apache Druid
## Download druid
wget http://mirror.downloadvn.com/apache/incubator/druid/0.15.0-incubating/apache-druid-0.15.0-incubating-bin.tar.gz
tar -xzf apache-druid-0.15.0-incubating-bin.tar.gz
## Download Zookeeper
wget http://mirrors.viethosting.com/apache/zookeeper/stable/apache-zookeeper-3.5.5-bin.tar.gz
tar zxf apache-zookeeper-3.5.5-bin.tar.gz
## Install Druid
mv apache-zookeeper-3.5.5-bin apache-druid-0.15.0-incubating/zk
sudo mv apache-druid-0.15.0-incubating /opt/
sudo ln -s /opt/apache-druid-0.15.0-incubating/ /opt/druid
cd /opt/druid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment