Skip to content

Instantly share code, notes, and snippets.

View EikeDehling's full-sized avatar

Eike Dehling EikeDehling

  • Textkernel
  • Amsterdam
View GitHub Profile
@EikeDehling
EikeDehling / install-elasticsearch.sh
Last active May 10, 2017 07:24 — forked from gourneau/ElasticSearch.sh
Script to install elasticsearch (Latest 5.x) on a ubuntu machine (16.04LTS)
# Install latest OpenJDK
sudo apt-get update
sudo apt-get install openjdk-8-jre-headless
# Install elastic
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/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
sudo apt-get update
sudo apt-get install elasticsearch