Skip to content

Instantly share code, notes, and snippets.

@sultansaadat
Created May 16, 2014 17:41
Show Gist options
  • Save sultansaadat/d9bbeac620f3582445aa to your computer and use it in GitHub Desktop.
Save sultansaadat/d9bbeac620f3582445aa to your computer and use it in GitHub Desktop.
install elastic search on ubuntu
#install openJDK
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
#install elastic as a debian package version 1.1.1
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.deb
sudo dpkg -i elasticsearch-1.1.1.deb
#run service
sudo service elasticsearch start
#test
curl http://localhost:9200
or
open http://localhost:9200 in browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment