Skip to content

Instantly share code, notes, and snippets.

Created September 1, 2015 10:24
What would you like to do?
Installing Kibana
#!/usr/bin/env bash
echo ">>> Installing Kibana"
# Set some variables
KIBANA_VERSION=4.1.1 # Check for latest version
sudo mkdir -p /opt/kibana
wget --quiet$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
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