Skip to content

Instantly share code, notes, and snippets.

@vkhazin
Created March 24, 2020 13:26
Show Gist options
  • Save vkhazin/6b0e44387368439af8e1750a1a0fa008 to your computer and use it in GitHub Desktop.
Save vkhazin/6b0e44387368439af8e1750a1a0fa008 to your computer and use it in GitHub Desktop.
Install ElasticSearch v7 on Ubuntu 18.04
sudo apt-get update &&
sudo apt-get install default-jre -y &&
curl https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - &&
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" \
| sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list &&
sudo apt-get update &&
sudo apt-get install elasticsearch &&
sudo systemctl start elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment