Docs: Add note about oss repositories for deb/rpm (#35973)

This commit adds a note about configring the yum/apt repositories for
oss only packages.

closes #35960
This commit is contained in:
Ryan Ernst 2018-11-29 00:22:10 -08:00 committed by GitHub
parent 0967620641
commit fbdfec4305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View File

@ -105,6 +105,36 @@ endif::[]
include::skip-set-kernel-parameters.asciidoc[]
ifeval::["{release-state}"=="released"]
[NOTE]
==================================================
An alternative package which contains only features that are available under the
Apache 2.0 license is also available. To install it, use the following sources list:
ifeval::["{release-state}"=="prerelease"]
["source","sh",subs="attributes,callouts"]
--------------------------------------------------
echo "deb https://artifacts.elastic.co/packages/oss-{major-version}-prerelease/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-{major-version}.list
--------------------------------------------------
endif::[]
ifeval::["{release-state}"!="prerelease"]
["source","sh",subs="attributes,callouts"]
--------------------------------------------------
echo "deb https://artifacts.elastic.co/packages/oss-{major-version}/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-{major-version}.list
--------------------------------------------------
endif::[]
==================================================
endif::[]
[[install-deb]]
==== Download and install the Debian package manually

View File

@ -90,6 +90,36 @@ sudo zypper install elasticsearch <3>
endif::[]
ifeval::["{release-state}"=="released"]
[NOTE]
==================================================
An alternative package which contains only features that are available under the
Apache 2.0 license is also available. To install it, use the following `baseurl` in your `elasticsearch.repo` file:
ifeval::["{release-state}"=="prerelease"]
["source","sh",subs="attributes,callouts"]
--------------------------------------------------
baseurl=https://artifacts.elastic.co/packages/oss-{major-version}-prerelease/yum
--------------------------------------------------
endif::[]
ifeval::["{release-state}"!="prerelease"]
["source","sh",subs="attributes,callouts"]
--------------------------------------------------
baseurl=https://artifacts.elastic.co/packages/oss-{major-version}/yum
--------------------------------------------------
endif::[]
==================================================
endif::[]
[[install-rpm]]
==== Download and install the RPM manually