Skip to content

Instantly share code, notes, and snippets.

@nathanmac
Created September 1, 2015 10:24
Show Gist options
  • Save nathanmac/ee18320275fdbc7614c1 to your computer and use it in GitHub Desktop.
Save nathanmac/ee18320275fdbc7614c1 to your computer and use it in GitHub Desktop.
Installing Kibana
#!/usr/bin/env bash
echo ">>> Installing Kibana"
# Set some variables
KIBANA_VERSION=4.1.1 # Check https://www.elastic.co/downloads/kibana for latest version
sudo mkdir -p /opt/kibana
wget --quiet https://download.elastic.co/kibana/kibana/kibana-$KIBANA_VERSION-linux-x64.tar.gz
sudo tar xvf kibana-$KIBANA_VERSION-linux-x64.tar.gz -C /opt/kibana --strip-components=1
rm kibana-$KIBANA_VERSION-linux-x64.tar.gz
# Configure to start up Kibana automatically
cd /etc/init.d && sudo wget --quiet https://gist.githubusercontent.com/thisismitch/8b15ac909aed214ad04a/raw/bce61d85643c2dcdfbc2728c55a41dab444dca20/kibana4
sudo chmod +x /etc/init.d/kibana4
sudo update-rc.d kibana4 defaults 96 9
sudo service kibana4 start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment