Welcome! Log In Create A New Profile

Advanced

[PATCH] Linux packages: added Amazon Linux 2023

Konstantin Pavlov
March 20, 2023 02:40PM
# HG changeset patch
# User Konstantin Pavlov <thresh@nginx.com>
# Date 1679336457 25200
# Mon Mar 20 11:20:57 2023 -0700
# Node ID 23d3cabaab95fb09ea40f113759f4eaed99ec9d7
# Parent 0f468b4e01d67cab96a44e0886dda3180104ae1a
Linux packages: added Amazon Linux 2023.

diff -r 0f468b4e01d6 -r 23d3cabaab95 xml/en/linux_packages.xml
--- a/xml/en/linux_packages.xml Thu Mar 09 22:20:24 2023 +0000
+++ b/xml/en/linux_packages.xml Mon Mar 20 11:20:57 2023 -0700
@@ -7,7 +7,7 @@
<article name="nginx: Linux packages"
link="/en/linux_packages.html"
lang="en"
- rev="82">
+ rev="83">

<section name="Supported distributions and versions" id="distributions">

@@ -166,6 +166,11 @@ versions:
<td>x86_64, aarch64/arm64</td>
</tr>

+<tr>
+<td width="30%">2023</td>
+<td>x86_64, aarch64/arm64</td>
+</tr>
+
</table>
</para>

@@ -531,7 +536,7 @@ Install the prerequisites:
sudo yum install yum-utils
</programlisting>

-To set up the yum repository, create the file named
+To set up the yum repository for Amazon Linux 2, create the file named
<path>/etc/yum.repos.d/nginx.repo</path>
with the following contents:

@@ -553,6 +558,28 @@ gpgkey=https://nginx.org/keys/nginx_sign
module_hotfixes=true
</programlisting>

+To set up the yum repository for Amazon Linux 2023, create the file named
+<path>/etc/yum.repos.d/nginx.repo</path>
+with the following contents:
+
+<programlisting>
+[nginx-stable]
+name=nginx stable repo
+baseurl=http://nginx.org/packages/amzn/2023/$basearch/
+gpgcheck=1
+enabled=1
+gpgkey=https://nginx.org/keys/nginx_signing.key
+module_hotfixes=true
+
+[nginx-mainline]
+name=nginx mainline repo
+baseurl=http://nginx.org/packages/mainline/amzn/2023/$basearch/
+gpgcheck=1
+enabled=0
+gpgkey=https://nginx.org/keys/nginx_signing.key
+module_hotfixes=true
+</programlisting>
+
By default, the repository for stable nginx packages is used.
If you would like to use mainline nginx packages,
run the following command:
diff -r 0f468b4e01d6 -r 23d3cabaab95 xml/ru/linux_packages.xml
--- a/xml/ru/linux_packages.xml Thu Mar 09 22:20:24 2023 +0000
+++ b/xml/ru/linux_packages.xml Mon Mar 20 11:20:57 2023 -0700
@@ -7,7 +7,7 @@
<article name="nginx: пакеты для Linux"
link="/ru/linux_packages.html"
lang="ru"
- rev="82">
+ rev="83">

<section name="Поддерживаемые дистрибутивы и версии" id="distributions">

@@ -166,6 +166,11 @@
<td>x86_64, aarch64/arm64</td>
</tr>

+<tr>
+<td width="30%">2023</td>
+<td>x86_64, aarch64/arm64</td>
+</tr>
+
</table>
</para>

@@ -528,7 +533,7 @@ sudo apk add nginx-module-image-filter@n
sudo yum install yum-utils
</programlisting>

-Для подключения yum-репозитория создайте файл с именем
+Для подключения yum-репозитория для Amazon Linux 2 создайте файл с именем
<path>/etc/yum.repos.d/nginx.repo</path>
со следующим содержимым:

@@ -550,6 +555,28 @@ gpgkey=https://nginx.org/keys/nginx_sign
module_hotfixes=true
</programlisting>

+Для подключения yum-репозитория для Amazon Linux 2023 создайте файл с именем
+<path>/etc/yum.repos.d/nginx.repo</path>
+со следующим содержимым:
+
+<programlisting>
+[nginx-stable]
+name=nginx stable repo
+baseurl=http://nginx.org/packages/amzn/2023/$basearch/
+gpgcheck=1
+enabled=1
+gpgkey=https://nginx.org/keys/nginx_signing.key
+module_hotfixes=true
+
+[nginx-mainline]
+name=nginx mainline repo
+baseurl=http://nginx.org/packages/mainline/amzn/2023/$basearch/
+gpgcheck=1
+enabled=0
+gpgkey=https://nginx.org/keys/nginx_signing.key
+module_hotfixes=true
+</programlisting>
+
По умолчанию используется репозиторий для стабильной версии nginx.
Если предпочтительно использовать пакеты для основной версии nginx,
выполните следующую команду:
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Linux packages: added Amazon Linux 2023

Konstantin Pavlov 416 March 20, 2023 02:40PM

Re: [PATCH] Linux packages: added Amazon Linux 2023

Maxim Konovalov 153 March 21, 2023 11:14AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 104
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready