# HG changeset patch # User Ruslan Ermilov # Date 1324552966 0 # Node ID 727da42d388739c5eedab44831267b62f0e7be71 # Parent c09d374c86c666bf2e616a83027567bf69c57736 Synchronized versions of "download". diff -r c09d374c86c6 -r 727da42d3887 xml/en/download.xml --- a/xml/en/download.xml Thu Dec 22 09:08:12 2011 +0000 +++ b/xml/en/download.xml Thu Dec 22 11:22:46 2011 +0000 @@ -5,7 +5,7 @@ lang="en"> -
+
@@ -27,7 +27,7 @@
-
+
@@ -143,7 +143,7 @@
-
+
@@ -163,18 +163,17 @@
-
+
-For automatic updates of the pre-built Linux packages it is possible to -configure the yum repository for RHEL/CentOS, -or the apt repository for Debian/Ubuntu. +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 the RHEL/CentOS, pick up and install -the corresponding nginx-release package from the list below, -containing the yum config and the public key necessary to check signed RPMs: +To set up the yum repository for RHEL/CentOS, choose the corresponding +nginx-release package from the list: @@ -196,12 +195,15 @@ -Then run the following command: +The package contains the yum configuration file +and the public PGP key necessary to authenticate signed RPMs. +Download and install it, then run the command: yum install nginx -As an alternative, a repository config can be added manually. +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: @@ -220,15 +222,15 @@ -For Debian 6 append the following contents to -/etc/apt/sources.list: +For Debian 6 append the following to the end of the +/etc/apt/sources.list file: deb http://nginx.org/packages/debian/ squeeze nginx deb-src http://nginx.org/packages/debian/ squeeze nginx -Then run the following commands: +Then run the commands: apt-get update apt-get install nginx @@ -237,15 +239,15 @@ -For Ubuntu 10.04 append the following contents to -/etc/apt/sources.list: +For Ubuntu 10.04 append the following to the end of the +/etc/apt/sources.list file: deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src http://nginx.org/packages/ubuntu/ lucid nginx -Then run the following commands: +Then run the commands: apt-get update apt-get install nginx diff -r c09d374c86c6 -r 727da42d3887 xml/ru/download.xml --- a/xml/ru/download.xml Thu Dec 22 09:08:12 2011 +0000 +++ b/xml/ru/download.xml Thu Dec 22 11:22:46 2011 +0000 @@ -4,7 +4,8 @@ link="/ru/download.html" lang="ru"> -
+ +
@@ -26,7 +27,7 @@
-
+
@@ -141,6 +142,7 @@
+
@@ -161,20 +163,17 @@
-
+
-Автоматическое обновление пакетов для Linux требует, в случае дистрибутива -RHEL/CentOS, настройки репозитория yum, либо, если дистрибутив -Debian/Ubuntu - репозитория apt. +Чтобы включить автоматическое обновление пакетов для Linux, +настройте репозиторий yum для дистрибутивов RHEL/CentOS, +или репозиторий apt для дистрибутивов Debian/Ubuntu. -Для настройки репозитория yum необходимо загрузить и установить пакет -nginx-release. В нем находятся конфигурационный файл -для yum и открытые PGP ключи, необходимые для проверки подписи RPM-пакетов. -Выберите из списка соответствующую версию дистрибутива и после окончания загрузки -установите пакет nginx-release. +Для настройки репозитория yum для RHEL/CentOS выберите из списка +соответствующий пакет nginx-release: @@ -196,14 +195,17 @@ -Затем запустите команду: +Пакет содержит конфигурационный файл для yum и публичный PGP-ключ, +необходимый для проверки подлинности подписи RPM-пакетов. +Загрузите и установите его, затем выполните команду: yum install nginx -Также можно добавить конфигурационный файл yum без установки -nginx-release. Создайте файл -/etc/yum.repos.d/nginx.repo и добавьте в него: +Кроме того, конфигурацию репозитория можно добавить вручную +без установки пакета nginx-release. +Создайте файл с именем /etc/yum.repos.d/nginx.repo +и таким содержимым: [nginx] @@ -213,13 +215,14 @@ enabled=1 -Замените OS на rhel или centos, -в зависимости от используемого дистрибутива, и OSRELEASE -на 5 или 6, для 5.x и 6.x версий, соответственно. +Замените “OS” на “rhel” или centos, +в зависимости от используемого дистрибутива, а “OSRELEASE” +на “5” или “6”, +для, соответственно, 5.x или 6.x версий. -В случае Debian 6 добавьте в конец файла +Для Debian 6 добавьте в конец файла /etc/apt/sources.list следующее: @@ -227,7 +230,7 @@ deb-src http://nginx.org/packages/debian/ squeeze nginx -Затем запустите команды: +Затем выполните команды: apt-get update apt-get install nginx @@ -237,14 +240,14 @@ Для Ubuntu 10.04 добавьте в конец файла -/etc/apt/sources.list: +/etc/apt/sources.list следующее: deb http://nginx.org/packages/ubuntu/ lucid nginx deb-src http://nginx.org/packages/ubuntu/ lucid nginx -И запустите команды: +Затем выполните команды: apt-get update apt-get install nginx