[DOCS] Use https for rpm packages, add dnf instructions

This commit is contained in:
Lee Hinman 2016-02-29 09:15:48 -07:00
parent eeb47a081b
commit 8619df6311
1 changed files with 10 additions and 3 deletions

View File

@ -79,7 +79,7 @@ sudo /bin/systemctl enable elasticsearch.service
--------------------------------------------------
[float]
=== YUM
=== YUM / DNF
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}]
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
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
--------------------------------------------------
@ -108,6 +108,13 @@ And your repository is ready for use. You can install it with:
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
distribution is using SysV `init` (check with `ps -p 1`), then you will need to run: