changeset 1364:12d631cfbc9d

Documented SLES 12 packages availability.
author Konstantin Pavlov <thresh@nginx.com>
date Fri, 21 Nov 2014 18:36:08 +0300
parents 82388d3b8e90
children 7682146b3051
files xml/en/linux_packages.xml xml/ru/linux_packages.xml
diffstat 2 files changed, 77 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/linux_packages.xml	Fri Nov 21 09:14:07 2014 +0000
+++ b/xml/en/linux_packages.xml	Fri Nov 21 18:36:08 2014 +0300
@@ -7,7 +7,7 @@
 <article name="nginx: Linux packages"
          link="/en/linux_packages.html"
          lang="en"
-         rev="8"
+         rev="9"
          toc="no">
 
 <section id="distributions">
@@ -93,9 +93,26 @@
 </para>
 
 <para>
+SLES:
+
+<table note="yes">
+
+<tr>
+<td width="20%">Version</td>
+</tr>
+
+<tr>
+ <td width="20%">12</td>
+</tr>
+
+</table>
+</para>
+
+<para>
 To enable automatic updates of Linux packages
 set up the yum repository for the RHEL/CentOS distributions,
-or the apt repository for the Debian/Ubuntu distributions.
+the apt repository for the Debian/Ubuntu distributions,
+or the zypper repository for SLES.
 </para>
 
 </section>
@@ -205,6 +222,13 @@
 </programlisting>
 </para>
 
+<para>
+For SLES run the following command:
+<programlisting>
+zypper addrepo -G -t yum -c 'http://nginx.org/packages/sles/12' nginx
+</programlisting>
+</para>
+
 </section>
 
 
@@ -273,6 +297,13 @@
 </programlisting>
 </para>
 
+<para>
+For SLES run the following command:
+<programlisting>
+zypper addrepo -G -t yum -c 'http://nginx.org/packages/mainline/sles/12' nginx
+</programlisting>
+</para>
+
 </section>
 
 
@@ -298,11 +329,16 @@
 <programlisting>sudo rpm --import nginx_signing.key</programlisting>
 </listitem>
 
+<listitem>
+On SLES:
+<programlisting>sudo rpm --import nginx_signing.key</programlisting>
+</listitem>
+
 </list>
 </para>
 
 <para>
-On Debian/Ubuntu signatures are checked by default, but
+On Debian/Ubuntu/SLES signatures are checked by default, but
 on RHEL/CentOS it is necessary to set
 <programlisting>gpgcheck=1</programlisting> in the
 <path>/etc/yum.repos.d/nginx.repo</path> file.
--- a/xml/ru/linux_packages.xml	Fri Nov 21 09:14:07 2014 +0000
+++ b/xml/ru/linux_packages.xml	Fri Nov 21 18:36:08 2014 +0300
@@ -7,7 +7,7 @@
 <article name="nginx: пакеты для Linux"
          link="/ru/linux_packages.html"
          lang="ru"
-         rev="8"
+         rev="9"
          toc="no">
 
 <section id="distributions">
@@ -93,9 +93,25 @@
 </para>
 
 <para>
+SLES:
+
+<table note="yes">
+<tr>
+<td width="20%">Версия</td>
+</tr>
+
+<tr>
+<td width="20%">12</td>
+</tr>
+
+</table>
+</para>
+
+<para>
 Чтобы включить автоматическое обновление пакетов для Linux,
 настройте репозиторий yum для дистрибутивов RHEL/CentOS,
-или репозиторий apt для дистрибутивов Debian/Ubuntu.
+репозиторий apt для дистрибутивов Debian/Ubuntu,
+или репозиторий zypper для SLES.
 </para>
 
 </section>
@@ -207,6 +223,13 @@
 </programlisting>
 </para>
 
+<para>
+Для SLES выполните команду:
+<programlisting>
+zypper addrepo -G -t yum -c 'http://nginx.org/packages/sles/12' nginx
+</programlisting>
+</para>
+
 </section>
 
 
@@ -277,6 +300,13 @@
 </programlisting>
 </para>
 
+<para>
+Для SLES выполните команду:
+<programlisting>
+zypper addrepo -G -t yum -c 'http://nginx.org/packages/mainline/sles/12' nginx
+</programlisting>
+</para>
+
 </section>
 
 
@@ -303,11 +333,16 @@
 <programlisting>sudo rpm --import nginx_signing.key</programlisting>
 </listitem>
 
+<listitem>
+Для SLES:
+<programlisting>sudo rpm --import nginx_signing.key</programlisting>
+</listitem>
+
 </list>
 </para>
 
 <para>
-В Debian/Ubuntu подпись проверяется по умолчанию, однако
+В Debian/Ubuntu/SLES подпись проверяется по умолчанию, однако
 в RHEL/CentOS необходимо добавить
 <programlisting>gpgcheck=1</programlisting> в файл
 <path>/etc/yum.repos.d/nginx.repo</path>.