Merge remote-tracking branch 'dakrone/update-rpm-repo-docs'
This commit is contained in:
commit
a1bc82eef3
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue