Documentation: Add note about not having sources in repositories
Closes #10390
This commit is contained in:
parent
ae60144123
commit
6170c274ba
|
@ -1,7 +1,9 @@
|
||||||
[[setup-repositories]]
|
[[setup-repositories]]
|
||||||
== Repositories
|
== Repositories
|
||||||
|
|
||||||
We also have repositories available for APT and YUM based distributions.
|
We also have repositories available for APT and YUM based distributions. Note that we only provide
|
||||||
|
binary packages, but no source packages, as the packages are created as part of the Elasticsearch
|
||||||
|
build.
|
||||||
|
|
||||||
We have split the major versions in separate urls to avoid accidental upgrades across major version.
|
We have split the major versions in separate urls to avoid accidental upgrades across major version.
|
||||||
For all 0.90.x releases use 0.90 as version number, for 1.0.x use 1.0, for 1.1.x use 1.1 etc.
|
For all 0.90.x releases use 0.90 as version number, for 1.0.x use 1.0, for 1.1.x use 1.1 etc.
|
||||||
|
@ -42,14 +44,14 @@ the following:
|
||||||
Just delete the `deb-src` entry from the `/etc/apt/sources.list` file and the installation should work as expected.
|
Just delete the `deb-src` entry from the `/etc/apt/sources.list` file and the installation should work as expected.
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
Run apt-get update and the repository is ready for use. You can install it with :
|
Run apt-get update and the repository is ready for use. You can install it with:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
sudo apt-get update && sudo apt-get install elasticsearch
|
sudo apt-get update && sudo apt-get install elasticsearch
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Configure Elasticsearch to automatically start during bootup :
|
Configure Elasticsearch to automatically start during bootup:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -59,7 +61,7 @@ sudo update-rc.d elasticsearch defaults 95 10
|
||||||
[float]
|
[float]
|
||||||
=== YUM
|
=== YUM
|
||||||
|
|
||||||
Download and install the Public Signing Key
|
Download and install the public signing key:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -67,7 +69,7 @@ rpm --import https://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`
|
in a file with a `.repo` suffix, for example `elasticsearch.repo`
|
||||||
|
|
||||||
["source","sh",subs="attributes,callouts"]
|
["source","sh",subs="attributes,callouts"]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -79,7 +81,7 @@ gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
|
||||||
enabled=1
|
enabled=1
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
And your repository is ready for use. You can install it with :
|
And your repository is ready for use. You can install it with:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
@ -87,14 +89,14 @@ yum install elasticsearch
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Configure Elasticsearch to automatically start during bootup. If your
|
Configure Elasticsearch to automatically start during bootup. If your
|
||||||
distribution is using SysV, then you will need to run :
|
distribution is using SysV init, then you will need to run:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
chkconfig --add elasticsearch
|
chkconfig --add elasticsearch
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
Otherwise if your distribution is using systemd :
|
Otherwise if your distribution is using systemd:
|
||||||
|
|
||||||
[source,sh]
|
[source,sh]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue