Mercurial > hg > nginx-site
comparison xml/en/linux_packages.xml @ 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 | ffaf58e96708 |
children | b1aab2fa2b8f |
comparison
equal
deleted
inserted
replaced
2634:0722b485010c | 2635:bf8e98fe085f |
---|---|
5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> | 5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> |
6 | 6 |
7 <article name="nginx: Linux packages" | 7 <article name="nginx: Linux packages" |
8 link="/en/linux_packages.html" | 8 link="/en/linux_packages.html" |
9 lang="en" | 9 lang="en" |
10 rev="51"> | 10 rev="52"> |
11 | 11 |
12 <section name="Supported distributions and versions" id="distributions"> | 12 <section name="Supported distributions and versions" id="distributions"> |
13 | 13 |
14 <para> | 14 <para> |
15 nginx packages are available for the following Linux distributions and | 15 nginx packages are available for the following Linux distributions and |
320 | 320 |
321 To set up the zypper repository for stable nginx packages, | 321 To set up the zypper repository for stable nginx packages, |
322 run the following command: | 322 run the following command: |
323 <programlisting> | 323 <programlisting> |
324 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ | 324 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ |
325 'http://nginx.org/packages/sles/$releasever' nginx-stable | 325 'http://nginx.org/packages/sles/$releasever_major' nginx-stable |
326 </programlisting> | 326 </programlisting> |
327 | 327 |
328 If you would like to use mainline nginx packages, | 328 If you would like to use mainline nginx packages, |
329 run the following command instead: | 329 run the following command instead: |
330 <programlisting> | 330 <programlisting> |
331 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ | 331 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ |
332 'http://nginx.org/packages/mainline/sles/$releasever' nginx-mainline | 332 'http://nginx.org/packages/mainline/sles/$releasever_major' nginx-mainline |
333 </programlisting> | 333 </programlisting> |
334 | 334 |
335 Next, import an official nginx signing key so zypper/rpm could verify | 335 Next, import an official nginx signing key so zypper/rpm could verify |
336 the packages authenticity. | 336 the packages authenticity. |
337 Fetch the key: | 337 Fetch the key: |