Skip to content

Instantly share code, notes, and snippets.

@jlecour
Created March 7, 2014 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlecour/9418428 to your computer and use it in GitHub Desktop.
Save jlecour/9418428 to your computer and use it in GitHub Desktop.
Update Elasticsearch on a Debian system
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