Last active
August 29, 2015 13:58
-
-
Save anatolyg/10351954 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run it by first getting the raw URL of the shell script and then: