Skip to content

Instantly share code, notes, and snippets.

@laeshiny
Created August 9, 2016 08:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save laeshiny/f2b8bf537caab8a387b51931582b58d0 to your computer and use it in GitHub Desktop.
Save laeshiny/f2b8bf537caab8a387b51931582b58d0 to your computer and use it in GitHub Desktop.
Elasticsearch & Kibana Install
# Install Elasticsearch
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
sudo apt-get update && sudo apt-get install elasticsearch
# Set host
# /etc/elasticsearch/elasticsearch.yml
# network.host: 0.0.0.0
sudo /bin/systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo systemctl restart elasticsearch.service
# Install Kibana
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/kibana/4.5/debian stable main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update && sudo apt-get install kibana
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service
sudo /bin/systemctl restart kibana.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment