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:
parent
0967620641
commit
fbdfec4305
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue