Update repositories.asciidoc

Improved instructions for using YUM
This commit is contained in:
matdere 2014-05-08 13:53:44 +02:00 committed by Clinton Gormley
parent a8242e6c8c
commit b9c58adf28
1 changed files with 7 additions and 2 deletions

View File

@ -36,7 +36,8 @@ Download and install the Public Signing Key
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]
--------------------------------------------------
@ -48,5 +49,9 @@ gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
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
--------------------------------------------------