Add Elasticsearch Repo Fedora
Hi! The Tip shows you How to Install Elasticsearch Repository Fedora GNU/Linux Systems.
And the Elasticsearch for Fedora service is a distributed Restful Search and Analytics.
-
Open a Shell Terminal emulator window
Start Typing ‘term’ on Desktop.
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
First, Import Elasticsearch GPG Key.
sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
-
Then Add Elasticsearch Repository.
sudo nano /etc/yum.repos.d/elasticsearch.repo
If Got “User is Not in Sudoers file” then see: How to Enable sudo
And Append:[elasticsearch-6.x] name=Elasticsearch repository for 6.x packages baseurl=https://artifacts.elastic.co/packages/6.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch/nenabled=1/nautorefresh=1 type=rpm-md
Ctrl+x to Save & Exit from nano Editor :)
-
How to Install Elasticsearch on Fedora Systems