Merge remote-tracking branch 'dakrone/update-rpm-repo-docs'

This commit is contained in:
Lee Hinman 2016-02-29 09:21:23 -07:00
commit a1bc82eef3
1 changed files with 10 additions and 3 deletions

View File

@ -79,7 +79,7 @@ sudo /bin/systemctl enable elasticsearch.service
-------------------------------------------------- --------------------------------------------------
[float] [float]
=== YUM === YUM / DNF
Download and install the public signing key: Download and install the public signing key:
@ -95,9 +95,9 @@ in a file with a `.repo` suffix, for example `elasticsearch.repo`
-------------------------------------------------- --------------------------------------------------
[elasticsearch-{major-version}] [elasticsearch-{major-version}]
name=Elasticsearch repository for {major-version} packages name=Elasticsearch repository for {major-version} packages
baseurl=http://packages.elastic.co/elasticsearch/{major-version}/centos baseurl=https://packages.elastic.co/elasticsearch/{major-version}/centos
gpgcheck=1 gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1 enabled=1
-------------------------------------------------- --------------------------------------------------
@ -108,6 +108,13 @@ And your repository is ready for use. You can install it with:
yum install elasticsearch yum install elasticsearch
-------------------------------------------------- --------------------------------------------------
Or, for newer versions of Fedora and Redhat:
[source,sh]
--------------------------------------------------
dnf install elasticsearch
--------------------------------------------------
Configure Elasticsearch to automatically start during bootup. If your Configure Elasticsearch to automatically start during bootup. If your
distribution is using SysV `init` (check with `ps -p 1`), then you will need to run: distribution is using SysV `init` (check with `ps -p 1`), then you will need to run: