Mercurial > hg > nginx-site
changeset 1626:b6fad74f2aa1
Removed release packages from linux downloads page.
Rationale:
- They are only available for stable branch
- They are only available for CentOS/RHEL
- The repo they configure does not include those packages so they are
impossible to update
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Thu, 17 Dec 2015 19:44:14 +0300 |
parents | 0ba4b2e561bd |
children | 5d0622281aec |
files | xml/en/linux_packages.xml xml/ru/linux_packages.xml |
diffstat | 2 files changed, 6 insertions(+), 84 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/linux_packages.xml +++ b/xml/en/linux_packages.xml @@ -7,7 +7,7 @@ <article name="nginx: Linux packages" link="/en/linux_packages.html" lang="en" - rev="13" + rev="14" toc="no"> <section id="distributions"> @@ -140,47 +140,8 @@ or the zypper repository for SLES. <section name="Pre-Built Packages for Stable version" id="stable"> <para> -To set up the yum repository for RHEL/CentOS, choose the corresponding -<literal>nginx-release</literal> package from the list: - -<list type="bullet"> - -<listitem> -<link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm">RHEL 6</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/rhel/7/noarch/RPMS/nginx-release-rhel-7-0.el7.ngx.noarch.rpm">RHEL 7</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm">CentOS 5</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm">CentOS 7</link> -</listitem> - -</list> - -This package contains yum configuration file -and a public PGP key necessary to authenticate signed RPMs. -Download and install it, then run the following: -<programlisting> -yum install nginx -</programlisting> - -Alternatively, a repository configuration can be added manually -without installing the <literal>nginx-release</literal> package. -Create the file named <path>/etc/yum.repos.d/nginx.repo</path> +To set up the yum repository for RHEL/CentOS, create the file named +<path>/etc/yum.repos.d/nginx.repo</path> with the following contents: <programlisting>
--- a/xml/ru/linux_packages.xml +++ b/xml/ru/linux_packages.xml @@ -7,7 +7,7 @@ <article name="nginx: пакеты для Linux" link="/ru/linux_packages.html" lang="ru" - rev="13" + rev="14" toc="no"> <section id="distributions"> @@ -139,47 +139,8 @@ SLES: <section name="Готовые пакеты стабильной версии" id="stable"> <para> -Для настройки репозитория yum для RHEL/CentOS выберите из списка -соответствующий пакет <literal>nginx-release</literal>: - -<list type="bullet"> - -<listitem> -<link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm">RHEL 6</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/rhel/7/noarch/RPMS/nginx-release-rhel-7-0.el7.ngx.noarch.rpm">RHEL 7</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm">CentOS 5</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> -</listitem> - -<listitem> -<link url="http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm">CentOS 7</link> -</listitem> - -</list> - -Пакет содержит конфигурационный файл для yum и публичный PGP-ключ, -необходимый для проверки подлинности подписи RPM-пакетов. -Загрузите и установите его, затем выполните команду: -<programlisting> -yum install nginx -</programlisting> - -Кроме того, конфигурацию репозитория можно добавить вручную -без установки пакета <literal>nginx-release</literal>. -Создайте файл с именем <path>/etc/yum.repos.d/nginx.repo</path> +Для настройки репозитория yum для RHEL/CentOS необходимо +создать файл с именем <path>/etc/yum.repos.d/nginx.repo</path> и таким содержимым: <programlisting>