view xml/en/download.xml @ 343:46e75d7ae0e7

replace apt-key example with a simpler one
author Sergey Budnevitch <sb@waeme.net>
date Mon, 23 Jan 2012 14:49:31 +0000
parents 8f6a70f9d3c0
children d0c9b9e436d4
line wrap: on
line source

<!DOCTYPE article SYSTEM "../../dtd/article.dtd">

<article name="nginx: download"
         link="/en/download.html"
         lang="en">


<section name="Development version">

<download last="1" changes="CHANGES">

<item ver="1.1.13" pgp="yes" win="yes" />
<item ver="1.1.12" pgp="yes" win="yes" />
<item ver="1.1.11" pgp="yes" win="yes" />
<item ver="1.1.10" pgp="yes" win="yes" />
<item ver="1.1.9" pgp="yes" win="yes" />
<item ver="1.1.8" pgp="yes" win="yes" />
<item ver="1.1.7" pgp="yes" win="yes" />
<item ver="1.1.6" pgp="yes" win="yes" />
<item ver="1.1.5" pgp="yes" win="yes" />
<item ver="1.1.4" pgp="yes" win="yes" />
<item ver="1.1.3" pgp="yes" win="yes" />
<item ver="1.1.2" pgp="yes" win="yes" />
<item ver="1.1.1" pgp="yes" win="yes" />
<item ver="1.1.0" pgp="yes" win="yes" />

</download>

</section>


<section name="Stable version">

<download last="1" changes="CHANGES-1.0">

<item ver="1.0.11" pgp="yes" win="yes" />
<item ver="1.0.10" pgp="yes" win="yes" />
<item ver="1.0.9" pgp="yes" win="yes" />
<item ver="1.0.8" pgp="yes" win="yes" />
<item ver="1.0.7" pgp="yes" win="yes" />
<item ver="1.0.6" pgp="yes" win="yes" />
<item ver="1.0.5" pgp="yes" win="yes" />
<item ver="1.0.4" pgp="yes" win="yes" />
<item ver="1.0.3" pgp="yes" win="yes" />
<item ver="1.0.2" pgp="yes" win="yes" />
<item ver="1.0.1" pgp="yes" win="yes" />
<item ver="1.0.0" pgp="yes" win="yes" />
<item ver="0.9.7" pgp="yes" win="yes" />
<item ver="0.9.6" pgp="yes" win="yes" />
<item ver="0.9.5" pgp="yes" win="yes" />
<item ver="0.9.4" pgp="yes" win="yes" />
<item ver="0.9.3" pgp="yes" win="yes" />
<item ver="0.9.2" pgp="yes" win="yes" />
<item ver="0.9.1" pgp="yes" win="yes" />
<item ver="0.9.0" pgp="yes" win="yes" />

</download>

</section>


<section name="Legacy versions">

<download last="1" changes="CHANGES-0.8">

<item ver="0.8.55" pgp="yes" win="yes" />
<item ver="0.8.54" pgp="yes" win="yes" />
<item ver="0.8.53" pgp="yes" win="yes" />
<item ver="0.8.52" pgp="yes" win="yes" />
<item ver="0.8.51" pgp="yes" win="yes" />
<item ver="0.8.50" pgp="yes" win="yes" />
<item ver="0.8.49" pgp="yes" win="yes" />
<item ver="0.8.48" pgp="yes" win="yes" />
<item ver="0.8.47" pgp="yes" win="yes" />
<item ver="0.8.46" pgp="yes" win="yes" />
<item ver="0.8.45" pgp="yes" win="yes" />
<item ver="0.8.44" pgp="yes" win="yes" />
<item ver="0.8.43" pgp="yes" win="yes" />
<item ver="0.8.42" pgp="yes" win="yes" />
<item ver="0.8.41" pgp="yes" win="yes" />
<item ver="0.8.40" pgp="yes" win="yes" />
<item ver="0.8.39" pgp="yes" win="yes" />
<item ver="0.8.38" pgp="yes" win="yes" />
<item ver="0.8.37" pgp="yes" win="yes" />
<item ver="0.8.36" pgp="yes" win="yes" />
<item ver="0.8.35" pgp="yes" win="yes" />
<item ver="0.8.34" pgp="yes" win="yes" />
<item ver="0.8.33" pgp="yes" win="yes" />
<item ver="0.8.32" pgp="yes" win="yes" />
<item ver="0.8.31" pgp="yes" win="yes" />
<item ver="0.8.30" pgp="yes" win="yes" />
<item ver="0.8.29" pgp="yes" win="yes" />
<item ver="0.8.28" pgp="yes" win="yes" />
<item ver="0.8.27" win="yes" />
<item ver="0.8.26" />
<item ver="0.8.24" win="yes" />
<item ver="0.8.22" win="yes" />
<item ver="0.8.21" win="yes" />
<item ver="0.8.20" win="yes" />
<item ver="0.8.19" win="yes" />
<item ver="0.8.17" win="yes" />

</download>

<download last="1" changes="CHANGES-0.7">

<item ver="0.7.69" pgp="yes" win="yes" />
<item ver="0.7.68" pgp="yes" win="yes" />
<item ver="0.7.67" pgp="yes" win="yes" />
<item ver="0.7.66" pgp="yes" win="yes" />
<item ver="0.7.65" pgp="yes" win="yes" />
<item ver="0.7.64" pgp="yes" win="yes" />
<item ver="0.7.63" win="yes" />
<item ver="0.7.62" win="yes" />
<item ver="0.7.61" win="yes" />
<item ver="0.7.60" win="yes" />
<item ver="0.7.59" win="yes" />
<item ver="0.7.58" win="yes" />
<item ver="0.7.57" />
<item ver="0.7.56" win="yes" />
<item ver="0.7.55" win="yes" />

</download>

<download last="1" changes="CHANGES-0.6">

<item ver="0.6.39" pgp="yes" />
<item ver="0.6.38" />
<item ver="0.6.37" />
<item ver="0.6.36" />
<item ver="0.6.35" />

</download>

<download last="1" changes="CHANGES-0.5">

<item ver="0.5.38" pgp="yes" />
<item ver="0.5.37" />
<item ver="0.5.36" />
<item ver="0.5.35" />
<item ver="0.5.34" />

</download>

</section>


<section name="Source Code">

<para>
<list>

<item>
Read-only Subversion repository:
<literal>svn://svn.nginx.org/nginx</literal>
</item>

<item>
<link url="http://trac.nginx.org/nginx/browser">Trac source browser</link>
</item>

</list>
</para>

</section>


<section name="Pre-Built Linux Packages">

<para>
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.
</para>

<para>
To set up the yum repository for RHEL/CentOS, choose the corresponding
<literal>nginx-release</literal> package from the list:

<list>

<item>
<link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link>
</item>

<item>
<link url="http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm">RHEL 6</link>
</item>

<item>
<link url="http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm">CentOS 5</link>
</item>

<item>
<link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link>
</item>

</list>

This package contains yum configuration file
and a public PGP key necessary to authenticate signed RPMs.
Download and install it, then run the following:
<programlisting>
yum install nginx
</programlisting>

Alternatively, a repository configuration can be added manually
without installing the <literal>nginx-release</literal> package.
Create the file named <path>/etc/yum.repos.d/nginx.repo</path>
with the following contents:

<programlisting>
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
gpgcheck=0
enabled=1
</programlisting>

Replace “<literal>OS</literal>” with “<literal>rhel</literal>” or
“<literal>centos</literal>”,
depending on the distribution used, and “<literal>OSRELEASE</literal>”
with “<literal>5</literal>” or “<literal>6</literal>”,
for 5.x or 6.x versions, respectively.
</para>

<para>
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 <link url="http://nginx.org/keys/nginx_signing.key">
nginx signing key</link> from our web site, and add it to the apt keyring with the
following  command:
<programlisting>
sudo apt-key add nginx_signing.key
</programlisting>
</para>

<para>
For Debian 6 append the following to the end of the
<path>/etc/apt/sources.list</path> file:

<programlisting>
deb http://nginx.org/packages/debian/ squeeze nginx
deb-src http://nginx.org/packages/debian/ squeeze nginx
</programlisting>

</para>

<para>
For Ubuntu 10.04 append the following to the end of the
<path>/etc/apt/sources.list</path> file:

<programlisting>
deb http://nginx.org/packages/ubuntu/ lucid nginx
deb-src http://nginx.org/packages/ubuntu/ lucid nginx
</programlisting>
</para>


<para>
Then run the following commands:
<programlisting>
apt-get update
apt-get install nginx
</programlisting>
</para>

</section>

</article>