comparison xml/en/download.xml @ 337:abbc95241d91

move key importing paragraph before 'apt-get update'
author Sergey Budnevitch <sb@waeme.net>
date Fri, 20 Jan 2012 15:28:40 +0000
parents a84fb64b1b45
children 8f6a70f9d3c0
comparison
equal deleted inserted replaced
336:a84fb64b1b45 337:abbc95241d91
247 247
248 <programlisting> 248 <programlisting>
249 deb http://nginx.org/packages/ubuntu/ lucid nginx 249 deb http://nginx.org/packages/ubuntu/ lucid nginx
250 deb-src http://nginx.org/packages/ubuntu/ lucid nginx 250 deb-src http://nginx.org/packages/ubuntu/ lucid nginx
251 </programlisting> 251 </programlisting>
252
253 Then run the commands:
254 <programlisting>
255 apt-get update
256 apt-get install nginx
257 </programlisting>
258 </para> 252 </para>
259 253
260 <para> 254 <para>
261 In order to add repository signature checking and to eliminate gpg warnings during 255 In order to add repository signature checking and to eliminate gpg warnings during
262 the installation on Debian or Ubuntu, it is necessary to import nginx signing key 256 the installation on Debian or Ubuntu, it is necessary to import nginx signing key
264 nginx signing key</link> from our web site, and add it to the apt keyring with the 258 nginx signing key</link> from our web site, and add it to the apt keyring with the
265 following command: 259 following command:
266 <programlisting> 260 <programlisting>
267 cat nginx_signing.key | sudo apt-key add - 261 cat nginx_signing.key | sudo apt-key add -
268 </programlisting> 262 </programlisting>
269 263 </para>
264
265 <para>
266 Then run the commands:
267 <programlisting>
268 apt-get update
269 apt-get install nginx
270 </programlisting>
270 </para> 271 </para>
271 272
272 </section> 273 </section>
273 274
274 </article> 275 </article>