Mercurial > hg > nginx-site
comparison xml/en/linux_packages.xml @ 1364:12d631cfbc9d
Documented SLES 12 packages availability.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Fri, 21 Nov 2014 18:36:08 +0300 |
parents | c298cfefceee |
children | b93922e05aed |
comparison
equal
deleted
inserted
replaced
1363:82388d3b8e90 | 1364:12d631cfbc9d |
---|---|
5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> | 5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> |
6 | 6 |
7 <article name="nginx: Linux packages" | 7 <article name="nginx: Linux packages" |
8 link="/en/linux_packages.html" | 8 link="/en/linux_packages.html" |
9 lang="en" | 9 lang="en" |
10 rev="8" | 10 rev="9" |
11 toc="no"> | 11 toc="no"> |
12 | 12 |
13 <section id="distributions"> | 13 <section id="distributions"> |
14 | 14 |
15 <para> | 15 <para> |
91 | 91 |
92 </table> | 92 </table> |
93 </para> | 93 </para> |
94 | 94 |
95 <para> | 95 <para> |
96 SLES: | |
97 | |
98 <table note="yes"> | |
99 | |
100 <tr> | |
101 <td width="20%">Version</td> | |
102 </tr> | |
103 | |
104 <tr> | |
105 <td width="20%">12</td> | |
106 </tr> | |
107 | |
108 </table> | |
109 </para> | |
110 | |
111 <para> | |
96 To enable automatic updates of Linux packages | 112 To enable automatic updates of Linux packages |
97 set up the yum repository for the RHEL/CentOS distributions, | 113 set up the yum repository for the RHEL/CentOS distributions, |
98 or the apt repository for the Debian/Ubuntu distributions. | 114 the apt repository for the Debian/Ubuntu distributions, |
115 or the zypper repository for SLES. | |
99 </para> | 116 </para> |
100 | 117 |
101 </section> | 118 </section> |
102 | 119 |
103 | 120 |
203 apt-get update | 220 apt-get update |
204 apt-get install nginx | 221 apt-get install nginx |
205 </programlisting> | 222 </programlisting> |
206 </para> | 223 </para> |
207 | 224 |
225 <para> | |
226 For SLES run the following command: | |
227 <programlisting> | |
228 zypper addrepo -G -t yum -c 'http://nginx.org/packages/sles/12' nginx | |
229 </programlisting> | |
230 </para> | |
231 | |
208 </section> | 232 </section> |
209 | 233 |
210 | 234 |
211 <section name="Pre-Built Packages for Mainline version" id="mainline"> | 235 <section name="Pre-Built Packages for Mainline version" id="mainline"> |
212 | 236 |
271 apt-get update | 295 apt-get update |
272 apt-get install nginx | 296 apt-get install nginx |
273 </programlisting> | 297 </programlisting> |
274 </para> | 298 </para> |
275 | 299 |
300 <para> | |
301 For SLES run the following command: | |
302 <programlisting> | |
303 zypper addrepo -G -t yum -c 'http://nginx.org/packages/mainline/sles/12' nginx | |
304 </programlisting> | |
305 </para> | |
306 | |
276 </section> | 307 </section> |
277 | 308 |
278 | 309 |
279 <section name="Signatures" id="signatures"> | 310 <section name="Signatures" id="signatures"> |
280 | 311 |
296 <listitem> | 327 <listitem> |
297 On RHEL/CentOS: | 328 On RHEL/CentOS: |
298 <programlisting>sudo rpm --import nginx_signing.key</programlisting> | 329 <programlisting>sudo rpm --import nginx_signing.key</programlisting> |
299 </listitem> | 330 </listitem> |
300 | 331 |
332 <listitem> | |
333 On SLES: | |
334 <programlisting>sudo rpm --import nginx_signing.key</programlisting> | |
335 </listitem> | |
336 | |
301 </list> | 337 </list> |
302 </para> | 338 </para> |
303 | 339 |
304 <para> | 340 <para> |
305 On Debian/Ubuntu signatures are checked by default, but | 341 On Debian/Ubuntu/SLES signatures are checked by default, but |
306 on RHEL/CentOS it is necessary to set | 342 on RHEL/CentOS it is necessary to set |
307 <programlisting>gpgcheck=1</programlisting> in the | 343 <programlisting>gpgcheck=1</programlisting> in the |
308 <path>/etc/yum.repos.d/nginx.repo</path> file. | 344 <path>/etc/yum.repos.d/nginx.repo</path> file. |
309 </para> | 345 </para> |
310 | 346 |