Created
August 9, 2016 08:33
-
-
Save laeshiny/f2b8bf537caab8a387b51931582b58d0 to your computer and use it in GitHub Desktop.
Elasticsearch & Kibana Install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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