comparison xml/en/download.xml @ 142:568b4e77c0d0

More word polishing.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 25 Oct 2011 10:18:11 +0000
parents 2a88f137b1c6
children 682163f2b298
comparison
equal deleted inserted replaced
141:2a88f137b1c6 142:568b4e77c0d0
153 </para> 153 </para>
154 154
155 </section> 155 </section>
156 156
157 157
158 <section name="Prebuilt Packages"> 158 <section name="Pre-Built Packages">
159 159
160 <para> 160 <para>
161 For automatic updates of the prebuilt Linux packages it is possible to 161 For automatic updates of the pre-built Linux packages it is possible to
162 configure yum repository for RHEL/CentOS, or apt repository for Debian/Ubuntu. 162 configure the yum repository for RHEL/CentOS,
163 </para> 163 or the apt repository for Debian/Ubuntu.
164 164 </para>
165 <para> 165
166 To set up yum repository for the Linux distributions: 166 <para>
167 To set up the yum repository for the RHEL/CentOS, pick up and install
168 the corresponding <code>nginx-release</code> package from the list below,
169 containing the yum config and the public key necessary to check signed RPMs:
170
167 <list> 171 <list>
168 172
169 <item> 173 <item>
170 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link> 174 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link>
171 </item> 175 </item>
181 <item> 185 <item>
182 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> 186 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link>
183 </item> 187 </item>
184 188
185 </list> 189 </list>
186 install the <code>nginx-release</code> package containing the yum config 190
187 and the public key necessary to check signed RPMs, 191 Then run the following command:
188 then run the following command:
189 <programlisting> 192 <programlisting>
190 yum install nginx 193 yum install nginx
191 </programlisting> 194 </programlisting>
192 195
193 As an alternative, a repository config can be added manually. 196 As an alternative, a repository config can be added manually.
207 with “<code>5</code>” or “<code>6</code>”, 210 with “<code>5</code>” or “<code>6</code>”,
208 for 5.x or 6.x versions, respectively. 211 for 5.x or 6.x versions, respectively.
209 </para> 212 </para>
210 213
211 <para> 214 <para>
212 For supported Debian/Ubuntu versions append the following contents to 215 For Debian 6 append the following contents to
213 <pathname>/etc/apt/sources.list</pathname>: 216 <pathname>/etc/apt/sources.list</pathname>:
214 217
215 <programlisting> 218 <programlisting>
216 deb http://nginx.org/packages/debian/ squeeze nginx 219 deb http://nginx.org/packages/debian/ squeeze nginx
217 deb-src http://nginx.org/packages/debian/ squeeze nginx 220 deb-src http://nginx.org/packages/debian/ squeeze nginx
218 </programlisting> 221 </programlisting>
219 222
220 in case of Debian 6, or for Ubuntu 10.04 with 223 Then run the following commands:
221 the following contents instead: 224 <programlisting>
225 apt-get update
226 apt-get install nginx
227 </programlisting>
228
229 </para>
230
231 <para>
232 For Ubuntu 10.04 append the following contents to
233 <pathname>/etc/apt/sources.list</pathname>:
222 234
223 <programlisting> 235 <programlisting>
224 deb http://nginx.org/packages/ubuntu/ lucid nginx 236 deb http://nginx.org/packages/ubuntu/ lucid nginx
225 deb-src http://nginx.org/packages/ubuntu/ lucid nginx 237 deb-src http://nginx.org/packages/ubuntu/ lucid nginx
226 </programlisting> 238 </programlisting>
227 Then run commands: 239
240 Then run the following commands:
228 <programlisting> 241 <programlisting>
229 apt-get update 242 apt-get update
230 apt-get install nginx 243 apt-get install nginx
231 </programlisting> 244 </programlisting>
232 245