Mercurial > hg > nginx-site
comparison xml/en/download.xml @ 339:8f6a70f9d3c0
- Key section goes first
author | Andrey Alexeev <andrew@nginx.com> |
---|---|
date | Fri, 20 Jan 2012 16:05:14 +0000 |
parents | abbc95241d91 |
children | 46e75d7ae0e7 |
comparison
equal
deleted
inserted
replaced
338:a4076cdff964 | 339:8f6a70f9d3c0 |
---|---|
195 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> | 195 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> |
196 </item> | 196 </item> |
197 | 197 |
198 </list> | 198 </list> |
199 | 199 |
200 The package contains the yum configuration file | 200 This package contains yum configuration file |
201 and the public PGP key necessary to authenticate signed RPMs. | 201 and a public PGP key necessary to authenticate signed RPMs. |
202 Download and install it, then run the command: | 202 Download and install it, then run the following: |
203 <programlisting> | 203 <programlisting> |
204 yum install nginx | 204 yum install nginx |
205 </programlisting> | 205 </programlisting> |
206 | 206 |
207 Alternatively, a repository configuration can be added manually | 207 Alternatively, a repository configuration can be added manually |
223 with “<literal>5</literal>” or “<literal>6</literal>”, | 223 with “<literal>5</literal>” or “<literal>6</literal>”, |
224 for 5.x or 6.x versions, respectively. | 224 for 5.x or 6.x versions, respectively. |
225 </para> | 225 </para> |
226 | 226 |
227 <para> | 227 <para> |
228 For Debian 6 append the following to the end of the | |
229 <path>/etc/apt/sources.list</path> file: | |
230 | |
231 <programlisting> | |
232 deb http://nginx.org/packages/debian/ squeeze nginx | |
233 deb-src http://nginx.org/packages/debian/ squeeze nginx | |
234 </programlisting> | |
235 | |
236 Then run the commands: | |
237 <programlisting> | |
238 apt-get update | |
239 apt-get install nginx | |
240 </programlisting> | |
241 | |
242 </para> | |
243 | |
244 <para> | |
245 For Ubuntu 10.04 append the following to the end of the | |
246 <path>/etc/apt/sources.list</path> file: | |
247 | |
248 <programlisting> | |
249 deb http://nginx.org/packages/ubuntu/ lucid nginx | |
250 deb-src http://nginx.org/packages/ubuntu/ lucid nginx | |
251 </programlisting> | |
252 </para> | |
253 | |
254 <para> | |
255 In order to add repository signature checking and to eliminate gpg warnings during | 228 In order to add repository signature checking and to eliminate gpg warnings during |
256 the installation on Debian or Ubuntu, it is necessary to import nginx signing key | 229 the installation on Debian or Ubuntu, it is necessary to import nginx signing key |
257 into apt keyring. Please download <link url="http://nginx.org/keys/nginx_signing.key"> | 230 into apt keyring. Please download <link url="http://nginx.org/keys/nginx_signing.key"> |
258 nginx signing key</link> from our web site, and add it to the apt keyring with the | 231 nginx signing key</link> from our web site, and add it to the apt keyring with the |
259 following command: | 232 following command: |
260 <programlisting> | 233 <programlisting> |
261 cat nginx_signing.key | sudo apt-key add - | 234 cat nginx_signing.key | sudo apt-key add - |
262 </programlisting> | 235 </programlisting> |
263 </para> | 236 </para> |
264 | 237 |
265 <para> | 238 <para> |
266 Then run the commands: | 239 For Debian 6 append the following to the end of the |
240 <path>/etc/apt/sources.list</path> file: | |
241 | |
242 <programlisting> | |
243 deb http://nginx.org/packages/debian/ squeeze nginx | |
244 deb-src http://nginx.org/packages/debian/ squeeze nginx | |
245 </programlisting> | |
246 | |
247 </para> | |
248 | |
249 <para> | |
250 For Ubuntu 10.04 append the following to the end of the | |
251 <path>/etc/apt/sources.list</path> file: | |
252 | |
253 <programlisting> | |
254 deb http://nginx.org/packages/ubuntu/ lucid nginx | |
255 deb-src http://nginx.org/packages/ubuntu/ lucid nginx | |
256 </programlisting> | |
257 </para> | |
258 | |
259 | |
260 <para> | |
261 Then run the following commands: | |
267 <programlisting> | 262 <programlisting> |
268 apt-get update | 263 apt-get update |
269 apt-get install nginx | 264 apt-get install nginx |
270 </programlisting> | 265 </programlisting> |
271 </para> | 266 </para> |