Forked from fxp/install_elasticsearch_on_ubuntu.sh
Created
February 13, 2017 22:38
-
-
Save ChrisMcKee/903bbc36527683fec1882a694f916187 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