Mercurial > hg > nginx-site
comparison xml/en/download.xml @ 148:682163f2b298
Unified article/path and module/pathname into a single "path".
"path" no longer emits double quotes so preserve them where
needed. Replaced some misuses of "path" and "dirname".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Oct 2011 13:28:36 +0000 |
parents | 568b4e77c0d0 |
children | e636bceb6ed2 |
comparison
equal
deleted
inserted
replaced
147:8057b7793bd9 | 148:682163f2b298 |
---|---|
192 <programlisting> | 192 <programlisting> |
193 yum install nginx | 193 yum install nginx |
194 </programlisting> | 194 </programlisting> |
195 | 195 |
196 As an alternative, a repository config can be added manually. | 196 As an alternative, a repository config can be added manually. |
197 Create the file named <pathname>/etc/yum.repos.d/nginx.repo</pathname> | 197 Create the file named <path>/etc/yum.repos.d/nginx.repo</path> |
198 with the following contents: | 198 with the following contents: |
199 | 199 |
200 <programlisting> | 200 <programlisting> |
201 [nginx] | 201 [nginx] |
202 name=nginx repo | 202 name=nginx repo |
211 for 5.x or 6.x versions, respectively. | 211 for 5.x or 6.x versions, respectively. |
212 </para> | 212 </para> |
213 | 213 |
214 <para> | 214 <para> |
215 For Debian 6 append the following contents to | 215 For Debian 6 append the following contents to |
216 <pathname>/etc/apt/sources.list</pathname>: | 216 <path>/etc/apt/sources.list</path>: |
217 | 217 |
218 <programlisting> | 218 <programlisting> |
219 deb http://nginx.org/packages/debian/ squeeze nginx | 219 deb http://nginx.org/packages/debian/ squeeze nginx |
220 deb-src http://nginx.org/packages/debian/ squeeze nginx | 220 deb-src http://nginx.org/packages/debian/ squeeze nginx |
221 </programlisting> | 221 </programlisting> |
228 | 228 |
229 </para> | 229 </para> |
230 | 230 |
231 <para> | 231 <para> |
232 For Ubuntu 10.04 append the following contents to | 232 For Ubuntu 10.04 append the following contents to |
233 <pathname>/etc/apt/sources.list</pathname>: | 233 <path>/etc/apt/sources.list</path>: |
234 | 234 |
235 <programlisting> | 235 <programlisting> |
236 deb http://nginx.org/packages/ubuntu/ lucid nginx | 236 deb http://nginx.org/packages/ubuntu/ lucid nginx |
237 deb-src http://nginx.org/packages/ubuntu/ lucid nginx | 237 deb-src http://nginx.org/packages/ubuntu/ lucid nginx |
238 </programlisting> | 238 </programlisting> |