Skip to content

Instantly share code, notes, and snippets.

@hakanbaysal
Forked from EikeDehling/install-kibana.sh
Created August 5, 2021 16:04
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 hakanbaysal/0795519ef7f8f9ac2d3a0acb5a9ea692 to your computer and use it in GitHub Desktop.
Save hakanbaysal/0795519ef7f8f9ac2d3a0acb5a9ea692 to your computer and use it in GitHub Desktop.
Kibana install script debian (as root)
# Install elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
apt-get update
apt-get install kibana
# Configure elastic
sed -i '/#server.host: 192.168.0.1/c\server.host: 0.0.0.0' /etc/kibana/kibana.yml
# Start!
systemctl daemon-reload
systemctl enable kibana.service
systemctl start kibana.service
# Check it runs
curl http://localhost:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment