# HG changeset patch # User Sergey Budnevitch # Date 1364921583 -14400 # Node ID d1002c39ac0af10bb38cab33d0cd44b39d678407 # Parent d7f2325fa832a8c9e9b1f09ef34250e03b27d6d7 Linux packages related information moved to separate page. Documentation about packages for mainline version added. diff --git a/xml/en/GNUmakefile b/xml/en/GNUmakefile --- a/xml/en/GNUmakefile +++ b/xml/en/GNUmakefile @@ -85,3 +85,4 @@ TOP = \ books \ support \ donation \ + linux_packages \ diff --git a/xml/en/download.xml b/xml/en/download.xml --- a/xml/en/download.xml +++ b/xml/en/download.xml @@ -61,157 +61,22 @@ site: http://hg.nginx.org/nginx -
+
-To enable automatic updates of Linux packages -set up the yum repository for the RHEL/CentOS distributions, -or the apt repository for the Debian/Ubuntu distributions. - - - -To set up the yum repository for RHEL/CentOS, choose the corresponding -nginx-release package from the list: - -RHEL 5 +Linux packages for +stable version -RHEL 6 - - - -CentOS 5 - - - -CentOS 6 +Linux packages for +mainline version - -This package contains yum configuration file -and a public PGP key necessary to authenticate signed RPMs. -Download and install it, then run the following: - -yum install nginx - - -Alternatively, a repository configuration can be added manually -without installing the nginx-release package. -Create the file named /etc/yum.repos.d/nginx.repo -with the following contents: - - -[nginx] -name=nginx repo -baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ -gpgcheck=0 -enabled=1 - - -Replace “OS” with “rhel” or -“centos”, -depending on the distribution used, and “OSRELEASE” -with “5” or “6”, -for 5.x or 6.x versions, respectively. - - - -For Debian/Ubuntu, in order to authenticate the nginx repository signature -and to eliminate warnings about missing gpg key during installation of the -nginx package, it is necessary to add the key used to sign the nginx -packages and repository to the apt program keyring. -Please download this -key from our web site, and add it to the apt -program keyring with the following command: - -sudo apt-key add nginx_signing.key - - - - -For Debian replace codename with Debian distribution -codename, and append the following to the end of the -/etc/apt/sources.list file: - - -deb http://nginx.org/packages/debian/ codename nginx -deb-src http://nginx.org/packages/debian/ codename nginx - - - - -Supported Debian versions: - - - - - - - - - - - - - -
VersionCodename
6.xsqueeze
-
- - -For Ubuntu replace codename with Ubuntu distribution -codename, and append the following to the end of the -/etc/apt/sources.list file: - - -deb http://nginx.org/packages/ubuntu/ codename nginx -deb-src http://nginx.org/packages/ubuntu/ codename nginx - - - - -Supported Ubuntu versions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
VersionCodename
10.04lucid
11.10oneiric
12.04precise
12.10quantal
-
- - -For Debian/Ubuntu then run the following commands: - -apt-get update -apt-get install nginx -
diff --git a/xml/en/linux_packages.xml b/xml/en/linux_packages.xml new file mode 100644 --- /dev/null +++ b/xml/en/linux_packages.xml @@ -0,0 +1,266 @@ + + + + +
+ +
+ + +Currently, nginx packages are available for the following distributions and +versions: + + + +RHEL/CentOS: + + + + + + + + + + + + + + + +
Version
5.x
6.x
+
+ + +Debian: + + + + + + + + + + + + + +
VersionCodename
6.xsqueeze
+
+ + +Ubuntu: + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VersionCodename
10.04lucid
11.10oneiric
12.04precise
12.10quantal
+
+ + +To enable automatic updates of Linux packages +set up the yum repository for the RHEL/CentOS distributions, +or the apt repository for the Debian/Ubuntu distributions. + + +
+ + +
+ + +To set up the yum repository for RHEL/CentOS, choose the corresponding +nginx-release package from the list: + + + + +RHEL 5 + + + +RHEL 6 + + + +CentOS 5 + + + +CentOS 6 + + + + +This package contains yum configuration file +and a public PGP key necessary to authenticate signed RPMs. +Download and install it, then run the following: + +yum install nginx + + +Alternatively, a repository configuration can be added manually +without installing the nginx-release package. +Create the file named /etc/yum.repos.d/nginx.repo +with the following contents: + + +[nginx] +name=nginx repo +baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ +gpgcheck=0 +enabled=1 + + +Replace “OS” with “rhel” or +“centos”, +depending on the distribution used, and “OSRELEASE” +with “5” or “6”, +for 5.x or 6.x versions, respectively. + + + +For Debian/Ubuntu, in order to authenticate the nginx repository signature +and to eliminate warnings about missing gpg key during installation of the +nginx package, it is necessary to add the key used to sign the nginx +packages and repository to the apt program keyring. +Please download this +key from our web site, and add it to the apt +program keyring with the following command: + +sudo apt-key add nginx_signing.key + + + + +For Debian replace codename with Debian distribution +codename, and append the following to +the end of the /etc/apt/sources.list file: + + +deb http://nginx.org/packages/debian/ codename nginx +deb-src http://nginx.org/packages/debian/ codename nginx + + + + +For Ubuntu replace codename with Ubuntu distribution +codename, and append the following to +the end of the /etc/apt/sources.list file: + + +deb http://nginx.org/packages/ubuntu/ codename nginx +deb-src http://nginx.org/packages/ubuntu/ codename nginx + + + + +For Debian/Ubuntu then run the following commands: + +apt-get update +apt-get install nginx + + + +
+ + +
+ + +To set up the yum repository for RHEL/CentOS, create the file named +/etc/yum.repos.d/nginx.repo +with the following contents: + + +[nginx] +name=nginx repo +baseurl=http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/ +gpgcheck=0 +enabled=1 + + +Replace “OS” with “rhel” or +“centos”, +depending on the distribution used, and “OSRELEASE” +with “5” or “6”, +for 5.x or 6.x versions, respectively. + + + +For Debian/Ubuntu, in order to authenticate the nginx repository signature +and to eliminate warnings about missing gpg key during installation of the +nginx package, it is necessary to add the key used to sign the nginx +packages and repository to the apt program keyring. +Please download this +key from our web site, and add it to the apt +program keyring with the following command: + +sudo apt-key add nginx_signing.key + + + + +For Debian replace codename with Debian distribution +codename, and append the following to +the end of the /etc/apt/sources.list file: + + +deb http://nginx.org/packages/mainline/debian/ codename nginx +deb-src http://nginx.org/packages/mainline/debian/ codename nginx + + + + +For Ubuntu replace codename with Ubuntu distribution +codename, and append the following to +the end of the /etc/apt/sources.list file: + + +deb http://nginx.org/packages/mainline/ubuntu/ codename nginx +deb-src http://nginx.org/packages/mainline/ubuntu/ codename nginx + + + + +For Debian/Ubuntu then run the following commands: + +apt-get update +apt-get install nginx + + + +
+ +
diff --git a/xml/ru/GNUmakefile b/xml/ru/GNUmakefile --- a/xml/ru/GNUmakefile +++ b/xml/ru/GNUmakefile @@ -72,3 +72,4 @@ REFS = \ TOP = \ download \ support \ + linux_packages \ diff --git a/xml/ru/download.xml b/xml/ru/download.xml --- a/xml/ru/download.xml +++ b/xml/ru/download.xml @@ -61,157 +61,22 @@
-
+
-Чтобы включить автоматическое обновление пакетов для Linux, -настройте репозиторий yum для дистрибутивов RHEL/CentOS, -или репозиторий apt для дистрибутивов Debian/Ubuntu. - - - -Для настройки репозитория yum для RHEL/CentOS выберите из списка -соответствующий пакет nginx-release: - -RHEL 5 +Пакеты стабильной версии +для Linux -RHEL 6 - - - -CentOS 5 - - - -CentOS 6 +Пакеты mainline-версии +для Linux - -Пакет содержит конфигурационный файл для yum и публичный PGP-ключ, -необходимый для проверки подлинности подписи RPM-пакетов. -Загрузите и установите его, затем выполните команду: - -yum install nginx - - -Кроме того, конфигурацию репозитория можно добавить вручную -без установки пакета nginx-release. -Создайте файл с именем /etc/yum.repos.d/nginx.repo -и таким содержимым: - - -[nginx] -name=nginx repo -baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ -gpgcheck=0 -enabled=1 - - -Замените “OS” на “rhel” или -“centos”, -в зависимости от используемого дистрибутива, а “OSRELEASE” -на “5” или “6”, -для, соответственно, 5.x или 6.x версий. - - - -Для Debian/Ubuntu, для проверки подлинности подписи репозитория nginx, -и чтобы избавиться от предупреждений об отсутствующем gpg-ключе во время -установки пакета nginx, необходимо добавить ключ, которым были подписаны -пакеты и репозиторий nginx, в связку ключей программы apt. -Загрузите этот -ключ с нашего веб-сайта и добавьте его в связку ключей программы -apt, выполнив команду: - -sudo apt-key add nginx_signing.key - - - - -Для Debian замените codename на кодовое имя дистрибутива, -и добавьте в конец файла /etc/apt/sources.list -следующее: - - -deb http://nginx.org/packages/debian/ codename nginx -deb-src http://nginx.org/packages/debian/ codename nginx - - - - -Поддерживаемые версии Debian: - - - - - - - - - - - - - -
ВерсияКодовое имя
6.xsqueeze
-
- - -Для Ubuntu замените codename на кодовое имя дистрибутива, -и добавьте в конец файла /etc/apt/sources.list -следующее: - - -deb http://nginx.org/packages/ubuntu/ codename nginx -deb-src http://nginx.org/packages/ubuntu/ codename nginx - - - - -Поддерживаемые версии Ubuntu: - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ВерсияКодовое имя
10.04lucid
11.10oneiric
12.04precise
12.10quantal
-
- - -Для Debian/Ubuntu затем выполните команды: - -apt-get update -apt-get install nginx -
diff --git a/xml/ru/linux_packages.xml b/xml/ru/linux_packages.xml new file mode 100644 --- /dev/null +++ b/xml/ru/linux_packages.xml @@ -0,0 +1,270 @@ + + + + +
+ +
+ + +В данный момент доступны готовые пакеты для следующих дистрибутивов и их +версий: + + + +RHEL/CentOS: + + + + + + + + + + + + + + + +
Версия
5.x
6.x
+
+ + +Debian: + + + + + + + + + + + + + +
ВерсияКодовое имя
6.xsqueeze
+
+ + +Ubuntu: + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
версияКодовое имя
10.04lucid
11.10oneiric
12.04precise
12.10quantal
+
+ + +Чтобы включить автоматическое обновление пакетов для Linux, +настройте репозиторий yum для дистрибутивов RHEL/CentOS, +или репозиторий apt для дистрибутивов Debian/Ubuntu. + + +
+ + +
+ + +Для настройки репозитория yum для RHEL/CentOS выберите из списка +соответствующий пакет nginx-release: + + + + +RHEL 5 + + + +RHEL 6 + + + +CentOS 5 + + + +CentOS 6 + + + + +Пакет содержит конфигурационный файл для yum и публичный PGP-ключ, +необходимый для проверки подлинности подписи RPM-пакетов. +Загрузите и установите его, затем выполните команду: + +yum install nginx + + +Кроме того, конфигурацию репозитория можно добавить вручную +без установки пакета nginx-release. +Создайте файл с именем /etc/yum.repos.d/nginx.repo +и таким содержимым: + + +[nginx] +name=nginx repo +baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ +gpgcheck=0 +enabled=1 + + +Замените “OS” на “rhel” или +“centos”, +в зависимости от используемого дистрибутива, а “OSRELEASE” +на “5” или “6”, +для, соответственно, 5.x или 6.x версий. + + + +Для Debian/Ubuntu, для проверки подлинности подписи репозитория nginx, +и чтобы избавиться от предупреждений об отсутствующем gpg-ключе во время +установки пакета nginx, необходимо добавить ключ, которым были подписаны +пакеты и репозиторий nginx, в связку ключей программы apt. +Загрузите этот +ключ с нашего веб-сайта и добавьте его в связку ключей программы +apt, выполнив команду: + +sudo apt-key add nginx_signing.key + + + + +Для Debian замените codename на +кодовое имя дистрибутива, +и добавьте в конец файла /etc/apt/sources.list +следующее: + + +deb http://nginx.org/packages/debian/ codename nginx +deb-src http://nginx.org/packages/debian/ codename nginx + + + + +Для Ubuntu замените codename на +кодовое имя дистрибутива, +и добавьте в конец файла /etc/apt/sources.list +следующее: + + +deb http://nginx.org/packages/ubuntu/ codename nginx +deb-src http://nginx.org/packages/ubuntu/ codename nginx + + + + +Для Debian/Ubuntu затем выполните команды: + +apt-get update +apt-get install nginx + + + +
+ + +
+ + +Для настройки репозитория yum для RHEL/CentOS необходимо +создать файл с именем /etc/yum.repos.d/nginx.repo +и таким содержимым: + + +[nginx] +name=nginx repo +baseurl=http://nginx.org/packages/mainline/OS/OSRELEASE/$basearch/ +gpgcheck=0 +enabled=1 + + +Замените “OS” на “rhel” или +“centos”, +в зависимости от используемого дистрибутива, а “OSRELEASE” +на “5” или “6”, +для, соответственно, 5.x или 6.x версий. + + + +Для Debian/Ubuntu, для проверки подлинности подписи репозитория nginx, +и чтобы избавиться от предупреждений об отсутствующем gpg-ключе во время +установки пакета nginx, необходимо добавить ключ, которым были подписаны +пакеты и репозиторий nginx, в связку ключей программы apt. +Загрузите этот +ключ с нашего веб-сайта и добавьте его в связку ключей программы +apt, выполнив команду: + +sudo apt-key add nginx_signing.key + + + + +Для Debian замените codename на +кодовое имя дистрибутива, +и добавьте в конец файла /etc/apt/sources.list +следующее: + + +deb http://nginx.org/packages/mainline/debian/ codename nginx +deb-src http://nginx.org/packages/mainline/debian/ codename nginx + + + + +Для Ubuntu замените codename на +кодовое имя дистрибутива, +и добавьте в конец файла /etc/apt/sources.list +следующее: + + +deb http://nginx.org/packages/mainline/ubuntu/ codename nginx +deb-src http://nginx.org/packages/mainline/ubuntu/ codename nginx + + + + +Для Debian/Ubuntu затем выполните команды: + +apt-get update +apt-get install nginx + + + +
+ +