Last active
June 24, 2016 16:38
-
-
Save thinmy/96da4d6f975f716896a46efe4bb3bfc2 to your computer and use it in GitHub Desktop.
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
# Login as root | |
root@homestead:~# sudo -s | |
# Update Aptitude | |
root@homestead:~# apt-get update | |
# Install Java | |
root@homestead:~# apt-get install openjdk-7-jre-headless -y | |
# Download and install Elasticsearch Public Signing Key | |
root@homestead:~# wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
# Add repository | |
root@homestead:~# echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list | |
# Update Aptitude | |
root@homestead:~# apt-get update | |
# Install Elasticsearch | |
root@homestead:~# apt-get install elasticsearch | |
# Set Elasticsearch to run on startup | |
root@homestead:~# update-rc.d elasticsearch defaults 95 10 | |
# Start Elasticsearch server | |
root@homestead:~# /etc/init.d/elasticsearch start | |
# Install Kibana | |
echo "deb http://packages.elastic.co/kibana/4.4/debian stable main" | sudo tee -a /etc/apt/sources.list.d/kibana-4.4.x.list | |
sudo apt-get -y install kibana | |
sudo vi /opt/kibana/config/kibana.yml | |
- server.host: "localhost" | |
sudo update-rc.d kibana defaults 96 9 | |
sudo service kibana start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment