Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChrisMcKee/903bbc36527683fec1882a694f916187 to your computer and use it in GitHub Desktop.
Save ChrisMcKee/903bbc36527683fec1882a694f916187 to your computer and use it in GitHub Desktop.
Install Elasticsearch on Ubuntu
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