Created
February 11, 2014 19:55
-
-
Save gdakram/8942833 to your computer and use it in GitHub Desktop.
Debian - Install ElasticSearch
This file contains hidden or 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
VERSION=0.90.1 | |
sudo apt-get update | |
sudo apt-get install openjdk-6-jdk | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb | |
sudo dpkg -i elasticsearch-$VERSION.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