-
Download and add this file to
/etc/yum.repos.d
curl -o /etc/yum.repos.d/elasticsearch.repo \ https://gist.githubusercontent.com/ApOgEE/62a09a4cbe31e7a75abb67aced271daa/raw/bbb0331ea7afad125c199c76c674dbbf942343f6/elasticsearch.repo
or
cd /etc/yum.repos.d/ curl -LOC - https://gist.githubusercontent.com/ApOgEE/62a09a4cbe31e7a75abb67aced271daa/raw/bbb0331ea7afad125c199c76c674dbbf942343f6/elasticsearch.repo
or
dnf config-manager --add-repo https://gist.githubusercontent.com/ApOgEE/62a09a4cbe31e7a75abb67aced271daa/raw/bbb0331ea7afad125c199c76c674dbbf942343f6/elasticsearch.repo
-
Enable Elasticsearch Repo
dnf config-manager --set-enabled elasticsearch
-
Import GPG-KEY
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
-
Install
dnf install elasticsearch
Last active
September 29, 2021 19:24
Centos 8, RockyLinux 8 - Install Elasticsearch 7.x From Repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[elasticsearch] | |
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=0 | |
autorefresh=1 | |
type=rpm-md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment