comparison xml/en/download.xml @ 130:3052a722a1a4

link to subversion repository and linux packages repository description added
author Sergey Budnevitch <sb@waeme.net>
date Fri, 21 Oct 2011 14:13:38 +0000
parents 7db449e89e92
children 39ff3788f178
comparison
equal deleted inserted replaced
129:523a80fc32b4 130:3052a722a1a4
132 132
133 </download> 133 </download>
134 134
135 </section> 135 </section>
136 136
137 <section name="Source Repository">
138
139 <para>
140 <list>
141
142 <item>
143 Read-only subversion repository: <programlisting>svn://svn.nginx.org/nginx</programlisting>
144 </item>
145
146 <item>
147 <link url="http://trac.nginx.org/nginx/browser">Trac Source browser</link>
148 </item>
149
150 </list>
151 </para>
152
153 </section>
154
155 <section name="Prebuilt Packages">
156 <para>
157 For automatic updates of the prebuilt linux packages it is possible to configure yum repository
158 for RHEL/CentOS or apt repository for Debian/Ubuntu.
159 </para>
160
161 <para>
162 To setup yum repository for the linux distributions:
163 <list>
164
165 <item>
166 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL5</link>
167 </item>
168
169 <item>
170 <link url="http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm">RHEL6</link>
171 </item>
172
173 <item>
174 <link url="http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm">CentOS5</link>
175 </item>
176
177 <item>
178 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS6</link>
179 </item>
180 </list>
181 install nginx-release package containing a yum config and a nginx signing key. Then run a command:
182 <programlisting>
183 yum install nginx
184 </programlisting>
185
186 As an alternative you can add repository config manually. Create a file named nginx.repo in /etc/yum.repos.d and
187 add configuration, like this:
188
189 <programlisting>
190 [nginx]
191 name=nginx repo
192 baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
193 gpgcheck=0
194 enabled=1
195 </programlisting>
196
197 Replace OS with rhel or centos, depending on the distribution you are running, and OSRELEASE with 5 or 6, for 5.x and 6.x
198 versions accordingly.
199
200 </para>
201
202 <para>
203 For Debian/Ubuntu append /etc/apt/sources.list with:
204
205 <programlisting>
206 deb http://nginx.org/packages/debian/ squeeze nginx
207 deb-src http://nginx.org/packages/debian/ squeeze nginx
208 </programlisting>
209
210 in case of Debian 6, or for Ubuntu 10.04 with:
211
212 <programlisting>
213 deb http://nginx.org/packages/ubuntu/ lucid nginx
214 deb-src http://nginx.org/packages/ubuntu/ lucid nginx
215 </programlisting>
216 Then run commands:
217 <programlisting>
218 apt-get update
219 apt-get install nginx
220 </programlisting>
221
222 </para>
223
224 </section>
225
137 </article> 226 </article>