annotate xml/ru/linux_packages.xml @ 2731:5d15140ad319

Linux packages: added Ubuntu 21.04 'hirsute'.
author Konstantin Pavlov <thresh@nginx.com>
date Fri, 14 May 2021 14:27:49 +0300
parents 5235e67595b4
children f8fb4ebdf529
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
1 <!--
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
2 Copyright (C) Nginx, Inc.
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
3 -->
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
4
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd">
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
6
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
7 <article name="nginx: пакеты для Linux"
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
8 link="/ru/linux_packages.html"
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
9 lang="ru"
2731
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
10 rev="60">
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
11
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
12 <section name="Поддерживаемые дистрибутивы и версии" id="distributions">
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
13
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
14 <para>
2325
409d024ac536 Emphasized that we provide Linux packages.
Konstantin Pavlov <thresh@videolan.org>
parents: 2324
diff changeset
15 Пакеты nginx доступны для следующих дистрибутивов Linux и их версий:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
16 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
17
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
18 <para>
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
19 <link id="RHEL-CentOS">RHEL/CentOS</link>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
20
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
21 <table note="yes">
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
22
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
23 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
24 <td width="30%">Версия</td>
1395
d68d1b88512a List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1368
diff changeset
25 <td>Поддерживаемые платформы</td>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
26 </tr>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
27
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
28 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
29 <td width="30%">7.4+</td>
2652
eb508d8c1c31 Linux packages: added RHEL/CentOS 7 aarch64/arm64.
Konstantin Pavlov <thresh@nginx.com>
parents: 2644
diff changeset
30 <td>x86_64, ppc64le, aarch64/arm64</td>
1252
27b22e625491 CentOS/RHEL 7 added to the package download page.
Sergey Budnevitch <sb@waeme.net>
parents: 1171
diff changeset
31 </tr>
27b22e625491 CentOS/RHEL 7 added to the package download page.
Sergey Budnevitch <sb@waeme.net>
parents: 1171
diff changeset
32
2380
f0aeaa03cb6a Linux packages: added RHEL 8.
Konstantin Pavlov <thresh@nginx.com>
parents: 2375
diff changeset
33 <tr>
f0aeaa03cb6a Linux packages: added RHEL 8.
Konstantin Pavlov <thresh@nginx.com>
parents: 2375
diff changeset
34 <td width="30%">8.x</td>
2568
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
35 <td>x86_64, aarch64/arm64</td>
2380
f0aeaa03cb6a Linux packages: added RHEL 8.
Konstantin Pavlov <thresh@nginx.com>
parents: 2375
diff changeset
36 </tr>
f0aeaa03cb6a Linux packages: added RHEL 8.
Konstantin Pavlov <thresh@nginx.com>
parents: 2375
diff changeset
37
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
38 </table>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
39 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
40
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
41 <para>
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
42 <link id="Debian">Debian</link>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
43
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
44 <table note="yes">
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
45
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
46 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
47 <td width="30%">Версия</td>
1395
d68d1b88512a List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1368
diff changeset
48 <td>Поддерживаемые платформы</td>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
49 </tr>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
50
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
51 <tr>
2407
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
52 <td width="30%">10.x “buster”</td>
2619
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
53 <td>x86_64, i386, aarch64/arm64</td>
2407
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
54 </tr>
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
55
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
56 </table>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
57 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
58
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
59 <para>
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
60 <link id="Ubuntu">Ubuntu</link>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
61
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
62 <table note="yes">
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
63
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
64 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
65 <td width="30%">Версия</td>
1395
d68d1b88512a List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1368
diff changeset
66 <td>Поддерживаемые платформы</td>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
67 </tr>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
68
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
69 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
70 <td width="30%">16.04 “xenial”</td>
1962
abc05dc025d9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 1922
diff changeset
71 <td>x86_64, i386, ppc64el, aarch64/arm64</td>
1691
94a012d2f489 Updated Linux packages configure options and the list of supported OS.
Konstantin Pavlov <thresh@nginx.com>
parents: 1681
diff changeset
72 </tr>
94a012d2f489 Updated Linux packages configure options and the list of supported OS.
Konstantin Pavlov <thresh@nginx.com>
parents: 1681
diff changeset
73
1921
ef3590465d67 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 1788
diff changeset
74 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
75 <td width="30%">18.04 “bionic”</td>
2279
7ec59c98d7d5 Actualized the list of supported Ubuntu versions and architectures.
Konstantin Pavlov <thresh@nginx.com>
parents: 2233
diff changeset
76 <td>x86_64, aarch64/arm64</td>
1921
ef3590465d67 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 1788
diff changeset
77 </tr>
ef3590465d67 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 1788
diff changeset
78
2160
a2e77354c77d Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2127
diff changeset
79 <tr>
2539
5a5a791b3166 Linux packages: added Ubuntu 20.04, removed 19.04.
Mikhail Isachenkov <mikhail.isachenkov@nginx.com>
parents: 2505
diff changeset
80 <td width="30%">20.04 “focal”</td>
5a5a791b3166 Linux packages: added Ubuntu 20.04, removed 19.04.
Mikhail Isachenkov <mikhail.isachenkov@nginx.com>
parents: 2505
diff changeset
81 <td>x86_64, aarch64/arm64</td>
2467
ee775a6ca22e Linux packages: added Ubuntu 19.10
Konstantin Pavlov <thresh@nginx.com>
parents: 2437
diff changeset
82 </tr>
ee775a6ca22e Linux packages: added Ubuntu 19.10
Konstantin Pavlov <thresh@nginx.com>
parents: 2437
diff changeset
83
2619
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
84 <tr>
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
85 <td width="30%">20.10 “groovy”</td>
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
86 <td>x86_64, aarch64/arm64</td>
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
87 </tr>
94107f33b7bb Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2603
diff changeset
88
2731
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
89 <tr>
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
90 <td width="30%">21.04 “hirsute”</td>
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
91 <td>x86_64, aarch64/arm64</td>
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
92 </tr>
5d15140ad319 Linux packages: added Ubuntu 21.04 'hirsute'.
Konstantin Pavlov <thresh@nginx.com>
parents: 2730
diff changeset
93
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
94 </table>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
95 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
96
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
97 <para>
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
98 <link id="SLES">SLES</link>
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
99
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
100 <table note="yes">
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
101 <tr>
2321
580c3007d242 Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents: 2279
diff changeset
102 <td width="30%">Версия</td>
1395
d68d1b88512a List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1368
diff changeset
103 <td>Поддерживаемые платформы</td>
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
104 </tr>
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
105
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
106 <tr>
2699
8b96520ca495 Linux packages: clarified supported SLES versions
Konstantin Pavlov <thresh@nginx.com>
parents: 2662
diff changeset
107 <td width="30%">12 SP5+</td>
1395
d68d1b88512a List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1368
diff changeset
108 <td>x86_64</td>
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
109 </tr>
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
110
2233
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
111 <tr>
2699
8b96520ca495 Linux packages: clarified supported SLES versions
Konstantin Pavlov <thresh@nginx.com>
parents: 2662
diff changeset
112 <td width="30%">15 SP2+</td>
2233
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
113 <td>x86_64</td>
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
114 </tr>
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
115
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
116 </table>
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
117 </para>
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
118
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
119 <para>
2324
3cf6a0cbec12 Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents: 2323
diff changeset
120 <link id="Alpine">Alpine</link>
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
121
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
122 <table note="yes">
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
123
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
124 <tr>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
125 <td width="30%">Версия</td>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
126 <td>Поддерживаемые платформы</td>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
127 </tr>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
128
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
129 <tr>
2407
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
130 <td width="30%">3.10</td>
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
131 <td>x86_64</td>
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
132 </tr>
bd01d2a342b9 Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2389
diff changeset
133
2505
ae52ac67048c Linux packages: Added Alpine 3.11.
Konstantin Pavlov <thresh@nginx.com>
parents: 2467
diff changeset
134 <tr>
ae52ac67048c Linux packages: Added Alpine 3.11.
Konstantin Pavlov <thresh@nginx.com>
parents: 2467
diff changeset
135 <td width="30%">3.11</td>
ae52ac67048c Linux packages: Added Alpine 3.11.
Konstantin Pavlov <thresh@nginx.com>
parents: 2467
diff changeset
136 <td>x86_64</td>
ae52ac67048c Linux packages: Added Alpine 3.11.
Konstantin Pavlov <thresh@nginx.com>
parents: 2467
diff changeset
137 </tr>
ae52ac67048c Linux packages: Added Alpine 3.11.
Konstantin Pavlov <thresh@nginx.com>
parents: 2467
diff changeset
138
2568
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
139 <tr>
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
140 <td width="30%">3.12</td>
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
141 <td>x86_64, aarch64/arm64</td>
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
142 </tr>
aa015272ea32 Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2539
diff changeset
143
2644
b1aab2fa2b8f Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2635
diff changeset
144 <tr>
b1aab2fa2b8f Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2635
diff changeset
145 <td width="30%">3.13</td>
b1aab2fa2b8f Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2635
diff changeset
146 <td>x86_64, aarch64/arm64</td>
b1aab2fa2b8f Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2635
diff changeset
147 </tr>
b1aab2fa2b8f Linux packages: actualized the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2635
diff changeset
148
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
149 </table>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
150 </para>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
151
2730
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
152 <para>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
153 <link id="Amazon-Linux">Amazon Linux</link>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
154
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
155 <table note="yes">
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
156
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
157 <tr>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
158 <td width="30%">Версия</td>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
159 <td>Поддерживаемые платформы</td>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
160 </tr>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
161
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
162 <tr>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
163 <td width="30%">2 (LTS)</td>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
164 <td>x86_64, aarch64/arm64</td>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
165 </tr>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
166
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
167 </table>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
168 </para>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
169
2326
5d045e964270 Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents: 2325
diff changeset
170 </section>
5d045e964270 Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents: 2325
diff changeset
171
5d045e964270 Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents: 2325
diff changeset
172
5d045e964270 Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents: 2325
diff changeset
173 <section name="Инструкции по установке" id="instructions">
5d045e964270 Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents: 2325
diff changeset
174
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
175 <para>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
176 Для того, чтобы поставить nginx на новой машине, необходимо подключить
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
177 и настроить репозиторий пакетов nginx.
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
178 После этого можно будет установить и обновлять nginx из этого репозитория.
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
179 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
180
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
181 <section name="RHEL/CentOS" id="RHEL-CentOS">
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
182
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
183 <para>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
184 Установите пакеты, необходимые для подключения yum-репозитория:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
185 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
186 sudo yum install yum-utils
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
187 </programlisting>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
188
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
189 Для подключения yum-репозитория создайте файл с именем
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
190 <path>/etc/yum.repos.d/nginx.repo</path>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
191 со следующим содержимым:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
192
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
193 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
194 [nginx-stable]
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
195 name=nginx stable repo
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
196 baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
197 gpgcheck=1
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
198 enabled=1
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
199 gpgkey=https://nginx.org/keys/nginx_signing.key
2437
bf8eb55e35dd Linux packages: Added an instruction for yum/dnf to mark the repos as hotfixes.
Konstantin Pavlov <thresh@nginx.com>
parents: 2436
diff changeset
200 module_hotfixes=true
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
201
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
202 [nginx-mainline]
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
203 name=nginx mainline repo
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
204 baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
205 gpgcheck=1
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
206 enabled=0
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
207 gpgkey=https://nginx.org/keys/nginx_signing.key
2437
bf8eb55e35dd Linux packages: Added an instruction for yum/dnf to mark the repos as hotfixes.
Konstantin Pavlov <thresh@nginx.com>
parents: 2436
diff changeset
208 module_hotfixes=true
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
209 </programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
210
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
211 По умолчанию используется репозиторий для стабильной версии nginx.
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
212 Если предпочтительно использовать пакеты для основной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
213 выполните следующую команду:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
214 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
215 sudo yum-config-manager --enable nginx-mainline
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
216 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
217
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
218 Чтобы установить nginx, выполните следующую команду:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
219 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
220 sudo yum install nginx
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
221 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
222
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
223 При запросе подтверждения GPG-ключа проверьте, что отпечаток ключа совпадает
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
224 с <command>573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62</command>, и,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
225 если это так, подтвердите его.
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
226 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
227
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
228 </section>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
229
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
230
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
231 <section name="Debian" id="Debian">
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
232
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
233 <para>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
234 Установите пакеты, необходимые для подключения apt-репозитория:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
235 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
236 sudo apt install curl gnupg2 ca-certificates lsb-release
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
237 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
238
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
239 Для подключения apt-репозитория для стабильной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
240 выполните следующую команду:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
241 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
242 echo "deb http://nginx.org/packages/debian `lsb_release -cs` nginx" \
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
243 | sudo tee /etc/apt/sources.list.d/nginx.list
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
244 </programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
245
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
246 Если предпочтительно использовать пакеты для основной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
247 выполните следующую команду вместо предыдущей:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
248 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
249 echo "deb http://nginx.org/packages/mainline/debian `lsb_release -cs` nginx" \
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
250 | sudo tee /etc/apt/sources.list.d/nginx.list
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
251 </programlisting>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
252
2660
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
253 Для использования пакетов из нашего репозитория вместо распространяемых в дистрибутиве,
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
254 настройте закрепление:
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
255 <programlisting>
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
256 echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" \
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
257 | sudo tee /etc/apt/preferences.d/99nginx
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
258 </programlisting>
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
259
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
260 Теперь нужно импортировать официальный ключ,
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
261 используемый apt для проверки подлинности пакетов.
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
262 Скачайте ключ:
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
263 <programlisting>
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
264 curl -o /tmp/nginx_signing.key https://nginx.org/keys/nginx_signing.key
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
265 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
266
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
267 Проверьте, верный ли ключ был загружен:
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
268 <programlisting>
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
269 gpg --dry-run --quiet --import --import-options import-show /tmp/nginx_signing.key
1364
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
270 </programlisting>
12d631cfbc9d Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents: 1253
diff changeset
271
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
272 Вывод команды должен содержать полный отпечаток ключа
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
273 <command>573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62</command>:
2233
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
274 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
275 pub rsa2048 2011-08-19 [SC] [expires: 2024-06-14]
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
276 uid [ unknown] nginx signing key &lt;signing-key@nginx.com&gt;
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
277 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
278 uid nginx signing key &lt;signing-key@nginx.com&gt;
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
279 </programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
280
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
281 Переместите ключ в каталог доверенных ключей apt (обратите внимание на изменение расширения "asc"):
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
282 <programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
283 sudo mv /tmp/nginx_signing.key /etc/apt/trusted.gpg.d/nginx_signing.asc
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
284 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
285
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
286 Чтобы установить nginx, выполните следующие команды:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
287 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
288 sudo apt update
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
289 sudo apt install nginx
2233
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
290 </programlisting>
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
291 </para>
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
292
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
293 </section>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
294
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
295
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
296 <section name="Ubuntu" id="Ubuntu">
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
297
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
298 <para>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
299 Установите пакеты, необходимые для подключения apt-репозитория:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
300 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
301 sudo apt install curl gnupg2 ca-certificates lsb-release
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
302 </programlisting>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
303
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
304 Для подключения apt-репозитория для стабильной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
305 выполните следующую команду:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
306 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
307 echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
308 | sudo tee /etc/apt/sources.list.d/nginx.list
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
309 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
310
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
311 Если предпочтительно использовать пакеты для основной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
312 выполните следующую команду вместо предыдущей:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
313 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
314 echo "deb http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" \
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
315 | sudo tee /etc/apt/sources.list.d/nginx.list
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
316 </programlisting>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
317
2660
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
318 Для использования пакетов из нашего репозитория вместо распространяемых в дистрибутиве,
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
319 настройте закрепление:
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
320 <programlisting>
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
321 echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" \
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
322 | sudo tee /etc/apt/preferences.d/99nginx
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
323 </programlisting>
aea8531ede83 Linux packages: added repository pinning instructions for Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2652
diff changeset
324
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
325 Теперь нужно импортировать официальный ключ,
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
326 используемый apt для проверки подлинности пакетов.
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
327 Скачайте ключ:
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
328 <programlisting>
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
329 curl -o /tmp/nginx_signing.key https://nginx.org/keys/nginx_signing.key
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
330 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
331
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
332 Проверьте, верный ли ключ был загружен:
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
333 <programlisting>
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
334 gpg --dry-run --quiet --import --import-options import-show /tmp/nginx_signing.key
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
335 </programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
336
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
337 На Ubuntu 16.04, выполните следующую команду вместо предыдущей:
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
338 <programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
339 gpg --with-fingerprint /tmp/nginx_signing.key
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
340 </programlisting>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
341
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
342 Вывод команды должен содержать полный отпечаток ключа
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
343 <command>573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62</command>:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
344 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
345 pub rsa2048 2011-08-19 [SC] [expires: 2024-06-14]
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
346 uid [ unknown] nginx signing key &lt;signing-key@nginx.com&gt;
2662
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
347 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
348 uid nginx signing key &lt;signing-key@nginx.com&gt;
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
349 </programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
350
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
351 Переместите ключ в каталог доверенных ключей apt (обратите внимание на изменение расширения "asc"):
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
352 <programlisting>
e4d370d43176 Linux packages: removed apt-key usage to import gpg keys on Debian/Ubuntu.
Konstantin Pavlov <thresh@nginx.com>
parents: 2661
diff changeset
353 sudo mv /tmp/nginx_signing.key /etc/apt/trusted.gpg.d/nginx_signing.asc
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
354 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
355
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
356 Чтобы установить nginx, выполните следующие команды:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
357 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
358 sudo apt update
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
359 sudo apt install nginx
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
360 </programlisting>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
361 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
362
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
363 </section>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
364
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
365
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
366 <section name="SLES" id="SLES">
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
367
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
368 <para>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
369 Установите пакеты, необходимые для подключения zypper-репозитория:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
370 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
371 sudo zypper install curl ca-certificates gpg2
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
372 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
373
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
374 Для подключения zypper-репозитория для стабильной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
375 выполните следующую команду:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
376 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
377 sudo zypper addrepo --gpgcheck --type yum --refresh --check \
2635
bf8e98fe085f Linux packages: use $releasever_major in SLES repository instructions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2633
diff changeset
378 'http://nginx.org/packages/sles/$releasever_major' nginx-stable
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
379 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
380
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
381 Если предпочтительно использовать пакеты для основной версии nginx,
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
382 выполните следующую команду вместо предыдущей:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
383 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
384 sudo zypper addrepo --gpgcheck --type yum --refresh --check \
2635
bf8e98fe085f Linux packages: use $releasever_major in SLES repository instructions.
Konstantin Pavlov <thresh@nginx.com>
parents: 2633
diff changeset
385 'http://nginx.org/packages/mainline/sles/$releasever_major' nginx-mainline
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
386 </programlisting>
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
387
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
388 Теперь нужно импортировать официальный ключ, используемый zypper/rpm
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
389 для проверки подлинности пакетов.
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
390 Скачайте ключ:
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
391 <programlisting>
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
392 curl -o /tmp/nginx_signing.key https://nginx.org/keys/nginx_signing.key
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
393 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
394
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
395 Проверьте, верный ли ключ был загружен:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
396 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
397 gpg --with-fingerprint /tmp/nginx_signing.key
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
398 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
399
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
400 Вывод команды должен содержать полный отпечаток ключа
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
401 <command>573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62</command>:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
402 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
403 pub 2048R/7BD9BF62 2011-08-19 [expires: 2024-06-14]
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
404 Key fingerprint = 573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
405 uid nginx signing key &lt;signing-key@nginx.com&gt;
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
406 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
407
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
408 Импортируйте ключ в базу данных rpm:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
409 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
410 sudo rpmkeys --import /tmp/nginx_signing.key
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
411 </programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
412
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
413 Чтобы установить nginx, выполните следующую команду:
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
414 <programlisting>
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
415 sudo zypper install nginx
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
416 </programlisting>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
417 </para>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
418
2322
bb03e6ac2f16 Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents: 2321
diff changeset
419 </section>
2233
8f988cbe1296 Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents: 2160
diff changeset
420
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
421
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
422 <section name="Alpine" id="Alpine">
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
423
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
424 <para>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
425 Установите пакеты, необходимые для подключения apk-репозитория:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
426 <programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
427 sudo apk add openssl curl ca-certificates
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
428 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
429
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
430 Для подключения apk-репозитория для стабильной версии nginx,
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
431 выполните следующую команду:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
432 <programlisting>
2661
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
433 printf "%s%s%s%s\n" \
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
434 "@nginx " \
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
435 "http://nginx.org/packages/mainline/alpine/v" \
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
436 `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
437 "/main" \
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
438 | sudo tee -a /etc/apk/repositories
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
439 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
440
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
441 Если предпочтительно использовать пакеты для основной версии nginx,
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
442 выполните следующую команду вместо предыдущей:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
443 <programlisting>
2661
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
444 printf "%s%s%s%s\n" \
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
445 "@nginx " \
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
446 "http://nginx.org/packages/mainline/alpine/v" \
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
447 `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
448 "/main" \
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
449 | sudo tee -a /etc/apk/repositories
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
450 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
451
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
452 Теперь нужно импортировать официальный ключ, используемый apk
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
453 для проверки подлинности пакетов.
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
454 Скачайте ключ:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
455 <programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
456 curl -o /tmp/nginx_signing.rsa.pub https://nginx.org/keys/nginx_signing.rsa.pub
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
457 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
458
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
459 Проверьте, верный ли ключ был загружен:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
460 <programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
461 openssl rsa -pubin -in /tmp/nginx_signing.rsa.pub -text -noout
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
462 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
463
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
464 Вывод команды должен содержать следующий модуль:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
465 <programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
466 Public-Key: (2048 bit)
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
467 Modulus:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
468 00:fe:14:f6:0a:1a:b8:86:19:fe:cd:ab:02:9f:58:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
469 2f:37:70:15:74:d6:06:9b:81:55:90:99:96:cc:70:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
470 5c:de:5b:e8:4c:b2:0c:47:5b:a8:a2:98:3d:11:b1:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
471 f6:7d:a0:46:df:24:23:c6:d0:24:52:67:ba:69:ab:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
472 9a:4a:6a:66:2c:db:e1:09:f1:0d:b2:b0:e1:47:1f:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
473 0a:46:ac:0d:82:f3:3c:8d:02:ce:08:43:19:d9:64:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
474 86:c4:4e:07:12:c0:5b:43:ba:7d:17:8a:a3:f0:3d:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
475 98:32:b9:75:66:f4:f0:1b:2d:94:5b:7c:1c:e6:f3:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
476 04:7f:dd:25:b2:82:a6:41:04:b7:50:93:94:c4:7c:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
477 34:7e:12:7c:bf:33:54:55:47:8c:42:94:40:8e:34:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
478 5f:54:04:1d:9e:8c:57:48:d4:b0:f8:e4:03:db:3f:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
479 68:6c:37:fa:62:14:1c:94:d6:de:f2:2b:68:29:17:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
480 24:6d:f7:b5:b3:18:79:fd:31:5e:7f:4c:be:c0:99:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
481 13:cc:e2:97:2b:dc:96:9c:9a:d0:a7:c5:77:82:67:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
482 c9:cb:a9:e7:68:4a:e1:c5:ba:1c:32:0e:79:40:6e:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
483 ef:08:d7:a3:b9:5d:1a:df:ce:1a:c7:44:91:4c:d4:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
484 99:c8:88:69:b3:66:2e:b3:06:f1:f4:22:d7:f2:5f:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
485 ab:6d
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
486 Exponent: 65537 (0x10001)
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
487 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
488
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
489 Переместите ключ в каталог доверенных ключей apk:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
490 <programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
491 sudo mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
492 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
493
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
494 Чтобы установить nginx, выполните следующую команду:
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
495 <programlisting>
2661
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
496 sudo apk add nginx@nginx
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
497 </programlisting>
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
498
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
499 Тэг <literal>@nginx</literal> должен быть указан и при установке пакетов
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
500 с <link url="#dynmodules">динамическими модулями</link>:
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
501 <programlisting>
991cf4287c36 Linux packages: added repository pinning instructions for Alpine Linux.
Konstantin Pavlov <thresh@nginx.com>
parents: 2660
diff changeset
502 sudo apk add nginx-module-image-filter@nginx nginx-module-njs@nginx
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
503 </programlisting>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
504 </para>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
505
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
506 </section>
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
507
2730
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
508 <section name="Amazon Linux" id="Amazon-Linux">
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
509
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
510 <para>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
511 Установите пакеты, необходимые для подключения yum-репозитория:
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
512 <programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
513 sudo yum install yum-utils
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
514 </programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
515
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
516 Для подключения yum-репозитория создайте файл с именем
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
517 <path>/etc/yum.repos.d/nginx.repo</path>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
518 со следующим содержимым:
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
519
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
520 <programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
521 [nginx-stable]
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
522 name=nginx stable repo
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
523 baseurl=http://nginx.org/packages/amzn2/$releasever/$basearch/
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
524 gpgcheck=1
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
525 enabled=1
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
526 gpgkey=https://nginx.org/keys/nginx_signing.key
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
527 module_hotfixes=true
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
528
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
529 [nginx-mainline]
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
530 name=nginx mainline repo
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
531 baseurl=http://nginx.org/packages/mainline/amzn2/$releasever/$basearch/
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
532 gpgcheck=1
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
533 enabled=0
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
534 gpgkey=https://nginx.org/keys/nginx_signing.key
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
535 module_hotfixes=true
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
536 </programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
537
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
538 По умолчанию используется репозиторий для стабильной версии nginx.
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
539 Если предпочтительно использовать пакеты для основной версии nginx,
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
540 выполните следующую команду:
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
541 <programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
542 sudo yum-config-manager --enable nginx-mainline
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
543 </programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
544
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
545 Чтобы установить nginx, выполните следующую команду:
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
546 <programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
547 sudo yum install nginx
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
548 </programlisting>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
549
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
550 При запросе подтверждения GPG-ключа проверьте, что отпечаток ключа совпадает
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
551 с <command>573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62</command>, и,
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
552 если это так, подтвердите его.
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
553 </para>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
554
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
555 </section>
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
556
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
557 </section>
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
558
932
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
559
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
560 <section name="Пакеты с исходным кодом" id="sourcepackages">
1482
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
561
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
562 <para>
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
563 Исходные коды пакетов находятся в соответствующем
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
564 <link url="http://hg.nginx.org/pkg-oss">репозитории</link>.
1482
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
565 </para>
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
566
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
567 <para>
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
568 Ветка репозитория <literal>default</literal> содержит исходные коды пакетов для
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
569 mainline-версии, в то время как ветки <literal>stable-*</literal> содержат
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
570 исходные коды пакетов для стабильных релизов.
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
571 Для сборки бинарных пакетов запустите <command>make</command> в каталоге
2323
eaef8f4ca921 Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents: 2322
diff changeset
572 <path>debian/</path> для Debian/Ubuntu, или в каталоге
2730
5235e67595b4 Linux packages: added Amazon Linux 2.
Konstantin Pavlov <thresh@nginx.com>
parents: 2699
diff changeset
573 <path>rpm/SPECS/</path> для RHEL/CentOS/SLES/Amazon Linux, или в каталоге
2625
987768ee3211 Linux packages: fixed path for Alpine package sources.
Konstantin Pavlov <thresh@nginx.com>
parents: 2619
diff changeset
574 <path>alpine/</path> для Alpine.
1788
e739f2281571 Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents: 1787
diff changeset
575 </para>
e739f2281571 Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents: 1787
diff changeset
576
e739f2281571 Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents: 1787
diff changeset
577 <para>
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
578 Исходные коды пакетов распространяются под той же
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
579 <link url="../LICENSE">BSD-подобной лицензией из 2 пунктов</link>,
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
580 что и сам nginx.
1482
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
581 </para>
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
582
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
583 </section>
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
584
f595fb427509 Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents: 1470
diff changeset
585
1681
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
586 <section name="Динамические модули" id="dynmodules">
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
587
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
588 <para>
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
589 Для того чтобы избежать увеличения числа зависимостей, основной пакет nginx не
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
590 включает модули, которым требуются дополнительные библиотеки.
1724
ce3e89d13fa0 Removed unneeded comma in "Since ..." Russian constructs.
Maxim Dounin <mdounin@mdounin.ru>
parents: 1691
diff changeset
591 Начиная с версии 1.9.11 nginx поддерживает
1922
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
592 <link doc="docs/ngx_core_module.xml" id="load_module">динамические
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
593 модули</link>, и следующие модули собираются как динамические и поставляются в
94493c0ff5f6 Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents: 1921
diff changeset
594 виде отдельных пакетов:
1681
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
595 <programlisting>
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
596 nginx-module-geoip
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
597 nginx-module-image-filter
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
598 nginx-module-njs
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
599 nginx-module-perl
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
600 nginx-module-xslt
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
601 </programlisting>
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
602 </para>
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
603
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
604 </section>
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
605
3a9097dc9d86 Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents: 1661
diff changeset
606
932
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
607 <section name="Подписи" id="signatures">
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
608
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
609 <para>
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
610 Поскольку наши <link doc="../en/pgp_keys.xml">PGP-ключи</link>
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
611 находятся на том же сервере, что и пакеты,
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
612 им следует доверять в равной степени.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
613 Поэтому мы настоятельно рекомендуем дополнительно проверить
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
614 подлинность загруженных PGP-ключей.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
615 В PGP есть понятие “сети доверия”,
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
616 когда ключ подписывается чьим-либо другим ключом,
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
617 тот в свою очередь третьим, и т.д.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
618 Это зачастую позволяет построить цепочку от произвольного ключа
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
619 до ключа человека, которого вы знаете и кому доверяете лично,
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
620 и таким образом удостовериться в подлинности первого ключа в цепочке.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
621 Подробно эта концепция описана в
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
622 <link url="http://www.dewinter.com/gnupg_howto/english/GPGMiniHowto-1.html">
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
623 GPG Mini Howto</link>.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
624 У наших ключей есть достаточное количество подписей,
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
625 поэтому проверить их подлинность относительно несложно.
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
626 </para>
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
627
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
628 </section>
774505846a54 Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents: 915
diff changeset
629
882
d1002c39ac0a Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff changeset
630 </article>