Skip to content

Instantly share code, notes, and snippets.

@matthewarkin
Last active December 21, 2015 04:49
Show Gist options
  • Save matthewarkin/6252295 to your computer and use it in GitHub Desktop.
Save matthewarkin/6252295 to your computer and use it in GitHub Desktop.
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below
# NEW WAY / EASY WAY
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.7.deb
sudo dpkg -i elasticsearch-0.90.7.deb
sudo service elasticsearch stop
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
sudo /usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/1.6.0
sudo service elasticsearch start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment