Skip to content

Instantly share code, notes, and snippets.

@strongant
Last active May 18, 2023 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strongant/7adb35a17d5f9cea7722fb4cc4070fed to your computer and use it in GitHub Desktop.
Save strongant/7adb35a17d5f9cea7722fb4cc4070fed to your computer and use it in GitHub Desktop.
elasticsearch7 repo
cat > /etc/yum.repos.d/elasticsearch.repo <<EOF
[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment