Skip to content

Instantly share code, notes, and snippets.

@falonofthetower
Created August 18, 2015 20:07
Show Gist options
  • Save falonofthetower/7fea4a54b7e8855d2e0c to your computer and use it in GitHub Desktop.
Save falonofthetower/7fea4a54b7e8855d2e0c to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/1.7/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list
sudo apt-get update && sudo apt-get install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10
sudo service elasticsearch start
curl http://localhost:9200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment