Skip to content

Instantly share code, notes, and snippets.

@cigolpl
Created April 22, 2017 13:26
Show Gist options
  • Save cigolpl/b8c849ecadd2af1b2f4853ea302f3d7d to your computer and use it in GitHub Desktop.
Save cigolpl/b8c849ecadd2af1b2f4853ea302f3d7d to your computer and use it in GitHub Desktop.
Install Java + Elasticsearch 5.3.1 on Ubuntu 16.04
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo sysctl -w vm.max_map_count=4262144
sudo apt-get install htop
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.1.zip
sha1sum elasticsearch-5.3.1.zip
sudo apt install unzip
unzip elasticsearch-5.3.1.zip
mv elasticsearch-5.3.1 elasticsearch
cd elasticsearch/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment