Skip to content

Instantly share code, notes, and snippets.

@podolinek
Forked from mystix/install-elasticsearch-debian
Last active August 29, 2015 14:15
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 podolinek/57f84fb74a57c2e26e4e to your computer and use it in GitHub Desktop.
Save podolinek/57f84fb74a57c2e26e4e to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install openjdk-6-jdk
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.8.deb
sudo dpkg -i elasticsearch-1.3.8.deb
# be sure you add "action.disable_delete_all_indices : true" to the config!!
# start script
sudo /etc/init.d/elasticsearch restart
# ------------------------------------------------------------------------------------
# if you want to remove it:
#sudo dpkg -r elasticsearch
# binaries & plugin
#/usr/share/elasticsearch/bin
# log dir
#/var/log/elasticsearch
# data dir
#/var/lib/elasticsearch
# config dir
#/etc/elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment