Last active
February 13, 2017 22:38
-
-
Save fxp/1becd537456cf31d49b73cb6a4dc1f19 to your computer and use it in GitHub Desktop.
Install Elasticsearch on Ubuntu
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
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | |
sudo apt-get install apt-transport-https | |
echo "deb https://artifacts.elastic.co/packages/5.x-prerelease/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list | |
sudo apt-get update | |
sudo apt-get install elasticsearch | |
service elasticsearch start | |
# if service start failed, try to modify -Xms lower like -Xms1g in /etc/elasticsearch/jvm.options |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment