Mercurial > hg > nginx-site
changeset 2635:bf8e98fe085f
Linux packages: use $releasever_major in SLES repository instructions.
On SLES service packs, $releasever holds a major number (e.g. 12), a dot and a
minor number of a service pack (e.g. 5). Since we don't ship packages per-SP
for that distribution, but rather the lowest common, we should point our users
accordingly.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Tue, 08 Dec 2020 14:07:49 +0300 |
parents | 0722b485010c |
children | a0824dab33ff |
files | xml/en/linux_packages.xml xml/ru/linux_packages.xml |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/linux_packages.xml Tue Dec 08 16:01:39 2020 +0300 +++ b/xml/en/linux_packages.xml Tue Dec 08 14:07:49 2020 +0300 @@ -7,7 +7,7 @@ <article name="nginx: Linux packages" link="/en/linux_packages.html" lang="en" - rev="51"> + rev="52"> <section name="Supported distributions and versions" id="distributions"> @@ -322,14 +322,14 @@ run the following command: <programlisting> sudo zypper addrepo --gpgcheck --type yum --refresh --check \ - 'http://nginx.org/packages/sles/$releasever' nginx-stable + 'http://nginx.org/packages/sles/$releasever_major' nginx-stable </programlisting> If you would like to use mainline nginx packages, run the following command instead: <programlisting> sudo zypper addrepo --gpgcheck --type yum --refresh --check \ - 'http://nginx.org/packages/mainline/sles/$releasever' nginx-mainline + 'http://nginx.org/packages/mainline/sles/$releasever_major' nginx-mainline </programlisting> Next, import an official nginx signing key so zypper/rpm could verify
--- a/xml/ru/linux_packages.xml Tue Dec 08 16:01:39 2020 +0300 +++ b/xml/ru/linux_packages.xml Tue Dec 08 14:07:49 2020 +0300 @@ -7,7 +7,7 @@ <article name="nginx: пакеты для Linux" link="/ru/linux_packages.html" lang="ru" - rev="51"> + rev="52"> <section name="Поддерживаемые дистрибутивы и версии" id="distributions"> @@ -319,14 +319,14 @@ выполните следующую команду: <programlisting> sudo zypper addrepo --gpgcheck --type yum --refresh --check \ - 'http://nginx.org/packages/sles/$releasever' nginx-stable + 'http://nginx.org/packages/sles/$releasever_major' nginx-stable </programlisting> Если предпочтительно использовать пакеты для основной версии nginx, выполните следующую команду вместо предыдущей: <programlisting> sudo zypper addrepo --gpgcheck --type yum --refresh --check \ - 'http://nginx.org/packages/mainline/sles/$releasever' nginx-mainline + 'http://nginx.org/packages/mainline/sles/$releasever_major' nginx-mainline </programlisting> Теперь нужно импортировать официальный ключ, используемый zypper/rpm