Created
March 7, 2014 19:42
-
-
Save jlecour/9418428 to your computer and use it in GitHub Desktop.
Update Elasticsearch on a Debian system
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 /tmp | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb.sha1.txt | |
grep -f elasticsearch-1.0.1.deb.sha1.txt <(sha1sum elasticsearch-1.0.1.deb) && echo "checksum OK" | |
mount -o remount,rw /usr | |
service elasticsearch stop | |
dpkg -i elasticsearch-1.0.1.deb | |
cd /usr/share/elasticsearch/ | |
bin/plugin -remove mobz/elasticsearch-head | |
bin/plugin -install mobz/elasticsearch-head | |
bin/plugin -remove lukas-vlcek/bigdesk | |
bin/plugin -install lukas-vlcek/bigdesk | |
bin/plugin -remove karmi/elasticsearch-paramedic | |
bin/plugin -install karmi/elasticsearch-paramedic | |
chown -R elasticsearch:elasticsearch plugins | |
chmod 755 /etc/elasticsearch/scripts | |
chmod 644 /etc/elasticsearch/scripts/*.mvel | |
service elasticsearch start | |
mount -o remount /usr | |
curl http://127.0.0.1:9200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment