Skip to content

Instantly share code, notes, and snippets.

@donaldsteele
Last active February 3, 2018 23:35
Show Gist options
  • Select an option

  • Save donaldsteele/5bf9f268656cbc7f874984a88b53865b to your computer and use it in GitHub Desktop.

Select an option

Save donaldsteele/5bf9f268656cbc7f874984a88b53865b to your computer and use it in GitHub Desktop.
ubuntu install Elasticsearch
apt-get update
apt-get -y upgrade
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.list
add-apt-repository ppa:webupd8team/java
apt-get install -y elasticsearch oracle-java9-installer
apt-get install -y oracle-java9-set-default
systemctl daemon-reload
systemctl enable elasticsearch.service
systemctl start elasticsearch.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment