Skip to content

Instantly share code, notes, and snippets.

@anatolyg
Last active August 29, 2015 13:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anatolyg/10351954 to your computer and use it in GitHub Desktop.
Save anatolyg/10351954 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-1.1.0.deb
sudo dpkg -i elasticsearch-1.1.0.deb
# Install useful plugins
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
sudo /usr/share/elasticsearch/bin/plugin --install jettro/elasticsearch-gui
sudo /usr/share/elasticsearch/bin/plugin -install polyfractal/elasticsearch-inquisitor
sudo /usr/share/elasticsearch/bin/plugin -install OlegKunitsyn/elasticsearch-browser
sudo /usr/share/elasticsearch/bin/plugin -install royrusso/elasticsearch-HQ
sudo /usr/share/elasticsearch/bin/plugin -install de.spinscale/elasticsearch-plugin-suggest/1.0.1-2.0.0
sudo /usr/share/elasticsearch/bin/plugin --install com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb/2.0.0
sudo /usr/share/elasticsearch/bin/plugin --install river-jdbc --url http://bit.ly/1iadfnF
sudo /usr/share/elasticsearch/bin/plugin -install lukas-vlcek/bigdesk/2.4.0
# download postgres driver, install into es
wget http://jdbc.postgresql.org/download/postgresql-9.3-1101.jdbc4.jar
sudo mv postgresql-9.3-1101.jdbc4.jar /usr/share/elasticsearch/plugins/river-jdbc/
# Start ES
sudo service elasticsearch start
#curl http://localhost:9200
@anatolyg
Copy link
Author

run it by first getting the raw URL of the shell script and then:

curl SCRIPT_FILE | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment