Last active
June 7, 2016 20:33
-
-
Save Hirurg103/bf1ea58d67a6640c3e44817bc868b884 to your computer and use it in GitHub Desktop.
Script which installs 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
sudo apt-get update | |
sudo apt-get install openjdk-9-jre | |
wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-2.3.0.deb | |
sudo dpkg -i elasticsearch-2.3.0.deb | |
sudo update-rc.d elasticsearch defaults | |
# remove | |
sudo dpkg -r elasticsearch | |
sudo dpkg -P elasticsearch # remove configuration | |
sudo apt-get remove openjdk-9-jre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment