Last active
March 28, 2019 13:28
-
-
Save vkhazin/998b73ddd7301209fc5bc18f5945eb2e to your computer and use it in GitHub Desktop.
Install ElasticSearch on ubuntu 16.04
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
sudo apt-get update && sudo apt-get install apt-transport-https -y && | |
sudo apt-get install default-jre -y && | |
curl https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - && | |
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" \ | |
| sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list && | |
sudo apt-get update && sudo apt-get install elasticsearch && | |
sudo systemctl enable elasticsearch.service && | |
sudo service elasticsearch start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment