Skip to content

Instantly share code, notes, and snippets.

@shri3k
Last active August 20, 2019 14:02
Show Gist options
  • Save shri3k/7a2b46f1f1dba69db334678961b4543f to your computer and use it in GitHub Desktop.
Save shri3k/7a2b46f1f1dba69db334678961b4543f to your computer and use it in GitHub Desktop.
#! /bin/bash
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/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment