Created
September 5, 2016 11:05
-
-
Save reiro/d38d43239c28feb24aa1ceda53b21b55 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
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java7-installer | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.2.deb | |
sudo dpkg -i elasticsearch-0.90.2.deb | |
plugins | |
/usr/share/elasticsearch/bin/plugin -install analysis-morphology -url http://dl.bintray.com/content/imotov/elasticsearch-plugins/elasticsearch-analysis-morphology-1.1.0.zip | |
/usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-phonetic/1.5.0 | |
/usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/1.10.0 | |
/usr/share/elasticsearch/bin/plugin -install de.spinscale/elasticsearch-plugin-suggest/0.90.1-0.7 | |
echo -n "network.host: 127.0.0.1" >> /etc/elasticsearch/elasticsearch.yml | |
sudo service elasticsearch restart | |
how to delete | |
apt-get remove --purge elasticsearch* | |
rm -rf /tmp/elasticsearch | |
rm - rf /usr/share/elasticsearch | |
#/tmp/elasticsearch | |
#/etc/elasticsearch | |
#/etc/elasticsearch/elasticsearch.yml | |
#/etc/default/elasticsearch | |
#/etc/init.d/elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment