mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
[DOCS] Use https for rpm packages, add dnf instructions
This commit is contained in:
parent
eeb47a081b
commit
8619df6311
@ -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:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user