Skip to content

Instantly share code, notes, and snippets.

@Simonx123
Forked from Callonski/elastic_prerequisites.sh
Created September 7, 2020 00:58
Show Gist options
  • Select an option

  • Save Simonx123/02d66c9023b90f51a1a47ac0cfbc58c7 to your computer and use it in GitHub Desktop.

Select an option

Save Simonx123/02d66c9023b90f51a1a47ac0cfbc58c7 to your computer and use it in GitHub Desktop.
################### INSTALL PREREQUISITIES #####################
sudo apt update
sudo apt -y install default-jre curl jq
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt -y install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list
sudo apt -y install elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment