# HG changeset patch # User Andrey Alexeev # Date 1327075514 0 # Node ID 8f6a70f9d3c02ea601d1e787e774a1a966815d69 # Parent a4076cdff964a5d64dd131b8099cae533c09522e - Key section goes first diff -r a4076cdff964 -r 8f6a70f9d3c0 xml/en/download.xml --- a/xml/en/download.xml Fri Jan 20 15:43:46 2012 +0000 +++ b/xml/en/download.xml Fri Jan 20 16:05:14 2012 +0000 @@ -197,9 +197,9 @@ -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: +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 @@ -225,6 +225,17 @@ +In order to add repository signature checking and to eliminate gpg warnings during +the installation on Debian or Ubuntu, it is necessary to import nginx signing key +into apt keyring. Please download +nginx signing key from our web site, and add it to the apt keyring with the +following command: + +cat nginx_signing.key | sudo apt-key add - + + + + For Debian 6 append the following to the end of the /etc/apt/sources.list file: @@ -233,12 +244,6 @@ deb-src http://nginx.org/packages/debian/ squeeze nginx -Then run the commands: - -apt-get update -apt-get install nginx - - @@ -251,19 +256,9 @@ - -In order to add repository signature checking and to eliminate gpg warnings during -the installation on Debian or Ubuntu, it is necessary to import nginx signing key -into apt keyring. Please download -nginx signing key from our web site, and add it to the apt keyring with the -following command: - -cat nginx_signing.key | sudo apt-key add - - - -Then run the commands: +Then run the following commands: apt-get update apt-get install nginx