mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
Update repositories.asciidoc
Improved instructions for using YUM
This commit is contained in:
parent
a8242e6c8c
commit
b9c58adf28
1 changed files with 7 additions and 2 deletions
|
@ -36,7 +36,8 @@ Download and install the Public Signing Key
|
||||||
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
|
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Add the following in your /etc/yum.repos.d/ directory
|
Add the following in your `/etc/yum.repos.d/` directory
|
||||||
|
in a file named (for example) `elasticsearch.repo`
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -48,5 +49,9 @@ gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
|
||||||
enabled=1
|
enabled=1
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
And your repository is ready for use.
|
And your repository is ready for use. You can install it with :
|
||||||
|
|
||||||
|
[source,sh]
|
||||||
|
--------------------------------------------------
|
||||||
|
yum install elasticsearch
|
||||||
|
--------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue