Mercurial > hg > nginx-site
comparison xml/en/linux_packages.xml @ 2944:23d3cabaab95
Linux packages: added Amazon Linux 2023.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Mon, 20 Mar 2023 11:20:57 -0700 |
parents | a20b51e84c32 |
children | 10a66e00b46f |
comparison
equal
deleted
inserted
replaced
2943:0f468b4e01d6 | 2944:23d3cabaab95 |
---|---|
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="82"> | 10 rev="83"> |
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 |
161 <td>Supported platforms</td> | 161 <td>Supported platforms</td> |
162 </tr> | 162 </tr> |
163 | 163 |
164 <tr> | 164 <tr> |
165 <td width="30%">2 (LTS)</td> | 165 <td width="30%">2 (LTS)</td> |
166 <td>x86_64, aarch64/arm64</td> | |
167 </tr> | |
168 | |
169 <tr> | |
170 <td width="30%">2023</td> | |
166 <td>x86_64, aarch64/arm64</td> | 171 <td>x86_64, aarch64/arm64</td> |
167 </tr> | 172 </tr> |
168 | 173 |
169 </table> | 174 </table> |
170 </para> | 175 </para> |
529 Install the prerequisites: | 534 Install the prerequisites: |
530 <programlisting> | 535 <programlisting> |
531 sudo yum install yum-utils | 536 sudo yum install yum-utils |
532 </programlisting> | 537 </programlisting> |
533 | 538 |
534 To set up the yum repository, create the file named | 539 To set up the yum repository for Amazon Linux 2, create the file named |
535 <path>/etc/yum.repos.d/nginx.repo</path> | 540 <path>/etc/yum.repos.d/nginx.repo</path> |
536 with the following contents: | 541 with the following contents: |
537 | 542 |
538 <programlisting> | 543 <programlisting> |
539 [nginx-stable] | 544 [nginx-stable] |
545 module_hotfixes=true | 550 module_hotfixes=true |
546 | 551 |
547 [nginx-mainline] | 552 [nginx-mainline] |
548 name=nginx mainline repo | 553 name=nginx mainline repo |
549 baseurl=http://nginx.org/packages/mainline/amzn2/$releasever/$basearch/ | 554 baseurl=http://nginx.org/packages/mainline/amzn2/$releasever/$basearch/ |
555 gpgcheck=1 | |
556 enabled=0 | |
557 gpgkey=https://nginx.org/keys/nginx_signing.key | |
558 module_hotfixes=true | |
559 </programlisting> | |
560 | |
561 To set up the yum repository for Amazon Linux 2023, create the file named | |
562 <path>/etc/yum.repos.d/nginx.repo</path> | |
563 with the following contents: | |
564 | |
565 <programlisting> | |
566 [nginx-stable] | |
567 name=nginx stable repo | |
568 baseurl=http://nginx.org/packages/amzn/2023/$basearch/ | |
569 gpgcheck=1 | |
570 enabled=1 | |
571 gpgkey=https://nginx.org/keys/nginx_signing.key | |
572 module_hotfixes=true | |
573 | |
574 [nginx-mainline] | |
575 name=nginx mainline repo | |
576 baseurl=http://nginx.org/packages/mainline/amzn/2023/$basearch/ | |
550 gpgcheck=1 | 577 gpgcheck=1 |
551 enabled=0 | 578 enabled=0 |
552 gpgkey=https://nginx.org/keys/nginx_signing.key | 579 gpgkey=https://nginx.org/keys/nginx_signing.key |
553 module_hotfixes=true | 580 module_hotfixes=true |
554 </programlisting> | 581 </programlisting> |