Skip to content

Instantly share code, notes, and snippets.

@kobaltz
Created October 16, 2014 16:32
Show Gist options
  • Save kobaltz/dce03f971cdaf37439a5 to your computer and use it in GitHub Desktop.
Save kobaltz/dce03f971cdaf37439a5 to your computer and use it in GitHub Desktop.
ElasticSearch Install
ElasticSearch for realtime searching. Make sure that it is installed as
described below.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.2.deb
mv elasticsearch-1.3.2.deb ~
sudo dpkg -i ~/elasticsearch-1.3.2.deb
sudo nano /etc/elasticsearch/elasticsearch.yml
Add the following to the end of the file. Save your changes and exit.
network.bind_host: localhost
script.disable_dynamic: true
Make sure that ElasticSearch starts when the software is loaded.
sudo update-rc.d elasticsearch defaults 95 10
sudo service elasticsearch restart
curl -X GET 'http://localhost:9200'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment