comparison xml/en/download.xml @ 271:4c6d2c614d2c

Cleaned up XML tag mess: - all of <parameter> and <code>, and some of <dirname>, <value>, and <command> were replaced by <literal>; - the rest of <dirname> were replaced by links; - <argument> were replaced by <value>; - <value> is now rendered in HTML in italic; - <literal> and <path> can now contain <value>. Cleaned up terminology mess: - directives take "parameters".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 23 Dec 2011 17:29:59 +0000
parents 727da42d3887
children 67ba4bba2656
comparison
equal deleted inserted replaced
270:945d7299c26c 271:4c6d2c614d2c
148 <para> 148 <para>
149 <list> 149 <list>
150 150
151 <item> 151 <item>
152 Read-only Subversion repository: 152 Read-only Subversion repository:
153 <code>svn://svn.nginx.org/nginx</code> 153 <literal>svn://svn.nginx.org/nginx</literal>
154 </item> 154 </item>
155 155
156 <item> 156 <item>
157 <link url="http://trac.nginx.org/nginx/browser">Trac source browser</link> 157 <link url="http://trac.nginx.org/nginx/browser">Trac source browser</link>
158 </item> 158 </item>
171 or the apt repository for the Debian/Ubuntu distributions. 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 RHEL/CentOS, choose the corresponding 175 To set up the yum repository for RHEL/CentOS, choose the corresponding
176 <code>nginx-release</code> package from the list: 176 <literal>nginx-release</literal> package from the list:
177 177
178 <list> 178 <list>
179 179
180 <item> 180 <item>
181 <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>
201 <programlisting> 201 <programlisting>
202 yum install nginx 202 yum install nginx
203 </programlisting> 203 </programlisting>
204 204
205 Alternatively, a repository configuration can be added manually 205 Alternatively, a repository configuration can be added manually
206 without installing the <code>nginx-release</code> package. 206 without installing the <literal>nginx-release</literal> package.
207 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>
208 with the following contents: 208 with the following contents:
209 209
210 <programlisting> 210 <programlisting>
211 [nginx] 211 [nginx]
213 baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ 213 baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
214 gpgcheck=0 214 gpgcheck=0
215 enabled=1 215 enabled=1
216 </programlisting> 216 </programlisting>
217 217
218 Replace “<code>OS</code>” with “<code>rhel</code>” or “<code>centos</code>”, 218 Replace “<literal>OS</literal>” with “<literal>rhel</literal>” or
219 depending on the distribution used, and “<code>OSRELEASE</code>” 219 “<literal>centos</literal>”,
220 with “<code>5</code>” or “<code>6</code>”, 220 depending on the distribution used, and “<literal>OSRELEASE</literal>”
221 with “<literal>5</literal>” or “<literal>6</literal>”,
221 for 5.x or 6.x versions, respectively. 222 for 5.x or 6.x versions, respectively.
222 </para> 223 </para>
223 224
224 <para> 225 <para>
225 For Debian 6 append the following to the end of the 226 For Debian 6 append the following to the end of the