comparison xml/en/download.xml @ 267:727da42d3887

Synchronized versions of "download".
author Ruslan Ermilov <ru@nginx.com>
date Thu, 22 Dec 2011 11:22:46 +0000
parents a627ecdece14
children 4c6d2c614d2c
comparison
equal deleted inserted replaced
266:c09d374c86c6 267:727da42d3887
3 <article name="nginx: download" 3 <article name="nginx: download"
4 link="/en/download.html" 4 link="/en/download.html"
5 lang="en"> 5 lang="en">
6 6
7 7
8 <section name="Development versions"> 8 <section name="Development version">
9 9
10 <download last="1" changes="CHANGES"> 10 <download last="1" changes="CHANGES">
11 11
12 <item ver="1.1.11" pgp="yes" win="yes" /> 12 <item ver="1.1.11" pgp="yes" win="yes" />
13 <item ver="1.1.10" pgp="yes" win="yes" /> 13 <item ver="1.1.10" pgp="yes" win="yes" />
25 </download> 25 </download>
26 26
27 </section> 27 </section>
28 28
29 29
30 <section name="Stable versions"> 30 <section name="Stable version">
31 31
32 <download last="1" changes="CHANGES-1.0"> 32 <download last="1" changes="CHANGES-1.0">
33 33
34 <item ver="1.0.11" pgp="yes" win="yes" /> 34 <item ver="1.0.11" pgp="yes" win="yes" />
35 <item ver="1.0.10" pgp="yes" win="yes" /> 35 <item ver="1.0.10" pgp="yes" win="yes" />
141 </download> 141 </download>
142 142
143 </section> 143 </section>
144 144
145 145
146 <section name="Source Repository"> 146 <section name="Source Code">
147 147
148 <para> 148 <para>
149 <list> 149 <list>
150 150
151 <item> 151 <item>
161 </para> 161 </para>
162 162
163 </section> 163 </section>
164 164
165 165
166 <section name="Pre-Built Packages"> 166 <section name="Pre-Built Linux Packages">
167 167
168 <para> 168 <para>
169 For automatic updates of the pre-built Linux packages it is possible to 169 To enable automatic updates of Linux packages
170 configure the yum repository for RHEL/CentOS, 170 set up the yum repository for the RHEL/CentOS distributions,
171 or the apt repository for Debian/Ubuntu. 171 or the apt repository for the Debian/Ubuntu distributions.
172 </para> 172 </para>
173 173
174 <para> 174 <para>
175 To set up the yum repository for the RHEL/CentOS, pick up and install 175 To set up the yum repository for RHEL/CentOS, choose the corresponding
176 the corresponding <code>nginx-release</code> package from the list below, 176 <code>nginx-release</code> package from the list:
177 containing the yum config and the public key necessary to check signed RPMs:
178 177
179 <list> 178 <list>
180 179
181 <item> 180 <item>
182 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link> 181 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link>
194 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> 193 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link>
195 </item> 194 </item>
196 195
197 </list> 196 </list>
198 197
199 Then run the following command: 198 The package contains the yum configuration file
199 and the public PGP key necessary to authenticate signed RPMs.
200 Download and install it, then run the command:
200 <programlisting> 201 <programlisting>
201 yum install nginx 202 yum install nginx
202 </programlisting> 203 </programlisting>
203 204
204 As an alternative, a repository config can be added manually. 205 Alternatively, a repository configuration can be added manually
206 without installing the <code>nginx-release</code> package.
205 Create the file named <path>/etc/yum.repos.d/nginx.repo</path> 207 Create the file named <path>/etc/yum.repos.d/nginx.repo</path>
206 with the following contents: 208 with the following contents:
207 209
208 <programlisting> 210 <programlisting>
209 [nginx] 211 [nginx]
218 with “<code>5</code>” or “<code>6</code>”, 220 with “<code>5</code>” or “<code>6</code>”,
219 for 5.x or 6.x versions, respectively. 221 for 5.x or 6.x versions, respectively.
220 </para> 222 </para>
221 223
222 <para> 224 <para>
223 For Debian 6 append the following contents to 225 For Debian 6 append the following to the end of the
224 <path>/etc/apt/sources.list</path>: 226 <path>/etc/apt/sources.list</path> file:
225 227
226 <programlisting> 228 <programlisting>
227 deb http://nginx.org/packages/debian/ squeeze nginx 229 deb http://nginx.org/packages/debian/ squeeze nginx
228 deb-src http://nginx.org/packages/debian/ squeeze nginx 230 deb-src http://nginx.org/packages/debian/ squeeze nginx
229 </programlisting> 231 </programlisting>
230 232
231 Then run the following commands: 233 Then run the commands:
232 <programlisting> 234 <programlisting>
233 apt-get update 235 apt-get update
234 apt-get install nginx 236 apt-get install nginx
235 </programlisting> 237 </programlisting>
236 238
237 </para> 239 </para>
238 240
239 <para> 241 <para>
240 For Ubuntu 10.04 append the following contents to 242 For Ubuntu 10.04 append the following to the end of the
241 <path>/etc/apt/sources.list</path>: 243 <path>/etc/apt/sources.list</path> file:
242 244
243 <programlisting> 245 <programlisting>
244 deb http://nginx.org/packages/ubuntu/ lucid nginx 246 deb http://nginx.org/packages/ubuntu/ lucid nginx
245 deb-src http://nginx.org/packages/ubuntu/ lucid nginx 247 deb-src http://nginx.org/packages/ubuntu/ lucid nginx
246 </programlisting> 248 </programlisting>
247 249
248 Then run the following commands: 250 Then run the commands:
249 <programlisting> 251 <programlisting>
250 apt-get update 252 apt-get update
251 apt-get install nginx 253 apt-get install nginx
252 </programlisting> 254 </programlisting>
253 255