Mercurial > hg > nginx-site
annotate xml/en/linux_packages.xml @ 2377:2313c14d93b5
Added obligatory port to zone_sync_server examples.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 12 Apr 2019 20:59:15 +0300 |
parents | 085ea04e2b23 |
children | f0aeaa03cb6a |
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 packages" |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
8 link="/en/linux_packages.html" |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
9 lang="en" |
2375
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
10 rev="37"> |
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="Supported distributions and versions" 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 packages are available for the following Linux distributions and |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
16 versions: |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
17 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
18 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
19 <para> |
2324
3cf6a0cbec12
Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents:
2323
diff
changeset
|
20 <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
|
21 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
22 <table note="yes"> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
23 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
24 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
25 <td width="30%">Version</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
26 <td>Supported Platforms</td> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
27 </tr> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
28 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
29 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
30 <td width="30%">6.x</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
31 <td>x86_64, i386</td> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
32 </tr> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
33 |
1252
27b22e625491
CentOS/RHEL 7 added to the package download page.
Sergey Budnevitch <sb@waeme.net>
parents:
1171
diff
changeset
|
34 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
35 <td width="30%">7.4+</td> |
1787
135f381a4097
Added new architecture for RHEL 7 and Ubuntu 16.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
1786
diff
changeset
|
36 <td>x86_64, ppc64le</td> |
1252
27b22e625491
CentOS/RHEL 7 added to the package download page.
Sergey Budnevitch <sb@waeme.net>
parents:
1171
diff
changeset
|
37 </tr> |
27b22e625491
CentOS/RHEL 7 added to the package download page.
Sergey Budnevitch <sb@waeme.net>
parents:
1171
diff
changeset
|
38 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
39 </table> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
40 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
41 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
42 <para> |
2324
3cf6a0cbec12
Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents:
2323
diff
changeset
|
43 <link id="Debian">Debian</link> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
44 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
45 <table note="yes"> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
46 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
47 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
48 <td width="30%">Version</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
49 <td>Supported Platforms</td> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
50 </tr> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
51 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
52 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
53 <td width="30%">8.x “jessie”</td> |
1470
28cf30b5818f
Updated list of supported linux distributions.
Sergey Budnevitch <sb@waeme.net>
parents:
1396
diff
changeset
|
54 <td>x86_64, i386</td> |
28cf30b5818f
Updated list of supported linux distributions.
Sergey Budnevitch <sb@waeme.net>
parents:
1396
diff
changeset
|
55 </tr> |
28cf30b5818f
Updated list of supported linux distributions.
Sergey Budnevitch <sb@waeme.net>
parents:
1396
diff
changeset
|
56 |
1962
abc05dc025d9
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1922
diff
changeset
|
57 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
58 <td width="30%">9.x “stretch”</td> |
1962
abc05dc025d9
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1922
diff
changeset
|
59 <td>x86_64, i386</td> |
abc05dc025d9
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1922
diff
changeset
|
60 </tr> |
abc05dc025d9
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1922
diff
changeset
|
61 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
62 </table> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
63 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
64 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
65 <para> |
2324
3cf6a0cbec12
Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents:
2323
diff
changeset
|
66 <link id="Ubuntu">Ubuntu</link> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
67 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
68 <table note="yes"> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
69 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
70 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
71 <td width="30%">Version</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
72 <td>Supported Platforms</td> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
73 </tr> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
74 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
75 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
76 <td width="30%">14.04 “trusty”</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
77 <td>x86_64, i386, aarch64/arm64</td> |
1034
b4818b326885
Changed list of supported Ubuntu versions.
Sergey Budnevitch <sb@waeme.net>
parents:
933
diff
changeset
|
78 </tr> |
1171
f9b35c517517
Updated supported Ubuntu releases.
Sarah Novotny <sarah@nginx.com>
parents:
1052
diff
changeset
|
79 |
1368
b93922e05aed
Ubuntu 14.10 added to the list of supported distributions.
Sergey Budnevitch <sb@waeme.net>
parents:
1364
diff
changeset
|
80 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
81 <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
|
82 <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
|
83 </tr> |
94a012d2f489
Updated Linux packages configure options and the list of supported OS.
Konstantin Pavlov <thresh@nginx.com>
parents:
1681
diff
changeset
|
84 |
1921
ef3590465d67
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1788
diff
changeset
|
85 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
86 <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
|
87 <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
|
88 </tr> |
ef3590465d67
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
1788
diff
changeset
|
89 |
2160
a2e77354c77d
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
2127
diff
changeset
|
90 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
91 <td width="30%">18.10 “cosmic”</td> |
2160
a2e77354c77d
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
2127
diff
changeset
|
92 <td>x86_64</td> |
a2e77354c77d
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
2127
diff
changeset
|
93 </tr> |
a2e77354c77d
Linux packages: updated the list of supported distributions.
Konstantin Pavlov <thresh@nginx.com>
parents:
2127
diff
changeset
|
94 |
2375
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
95 <tr> |
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
96 <td width="30%">19.04 “disco”</td> |
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
97 <td>x86_64</td> |
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
98 </tr> |
085ea04e2b23
Linux packages: added Ubuntu 19.04.
Konstantin Pavlov <thresh@nginx.com>
parents:
2329
diff
changeset
|
99 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
100 </table> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
101 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
102 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
103 <para> |
2324
3cf6a0cbec12
Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents:
2323
diff
changeset
|
104 <link id="SLES">SLES</link> |
1364
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 <table note="yes"> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
107 |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
108 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
109 <td width="30%">Version</td> |
1395
d68d1b88512a
List of supported platforms for linux packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1368
diff
changeset
|
110 <td>Supported Platforms</td> |
1364
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
111 </tr> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
112 |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
113 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
114 <td width="30%">12</td> |
1396
a886cc28d04d
Supported platforms list for SLES fixed.
Sergey Budnevitch <sb@waeme.net>
parents:
1395
diff
changeset
|
115 <td>x86_64</td> |
1364
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
116 </tr> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
117 |
2233
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
118 <tr> |
2321
580c3007d242
Merged version and codename.
Konstantin Pavlov <thresh@videolan.org>
parents:
2279
diff
changeset
|
119 <td width="30%">15</td> |
2233
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
120 <td>x86_64</td> |
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
121 </tr> |
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
122 |
1364
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
123 </table> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
124 </para> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
125 |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
126 <para> |
2324
3cf6a0cbec12
Added intra-page anchors and table of contents.
Konstantin Pavlov <thresh@videolan.org>
parents:
2323
diff
changeset
|
127 <link id="Alpine">Alpine</link> |
2323
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 <table note="yes"> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
130 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
131 <tr> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
132 <td width="30%">Version</td> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
133 <td>Supported platforms</td> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
134 </tr> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
135 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
136 <tr> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
137 <td width="30%">3.8</td> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
138 <td>x86_64</td> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
139 </tr> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
140 |
2329
c058e44b4111
Linux packages: added Alpine 3.9.
Andrei Belov <defan@nginx.com>
parents:
2326
diff
changeset
|
141 <tr> |
c058e44b4111
Linux packages: added Alpine 3.9.
Andrei Belov <defan@nginx.com>
parents:
2326
diff
changeset
|
142 <td width="30%">3.9</td> |
c058e44b4111
Linux packages: added Alpine 3.9.
Andrei Belov <defan@nginx.com>
parents:
2326
diff
changeset
|
143 <td>x86_64</td> |
c058e44b4111
Linux packages: added Alpine 3.9.
Andrei Belov <defan@nginx.com>
parents:
2326
diff
changeset
|
144 </tr> |
c058e44b4111
Linux packages: added Alpine 3.9.
Andrei Belov <defan@nginx.com>
parents:
2326
diff
changeset
|
145 |
2323
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
146 </table> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
147 </para> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
148 |
2326
5d045e964270
Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents:
2325
diff
changeset
|
149 </section> |
5d045e964270
Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents:
2325
diff
changeset
|
150 |
5d045e964270
Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents:
2325
diff
changeset
|
151 |
5d045e964270
Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents:
2325
diff
changeset
|
152 <section name="Installation instructions" id="instructions"> |
5d045e964270
Moved the repository introduction paragraph to an appropriate place.
Konstantin Pavlov <thresh@videolan.org>
parents:
2325
diff
changeset
|
153 |
2323
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
154 <para> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
155 Before you install nginx for the first time on a new machine, you need to |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
156 set up the nginx packages repository. |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
157 Afterward, you can install and update nginx from the repository. |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
158 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
159 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
160 <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
|
161 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
162 <para> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
163 Install the prerequisites: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
164 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
165 sudo yum install yum-utils |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
166 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
167 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
168 To set up the yum repository, create the file named |
1626
b6fad74f2aa1
Removed release packages from linux downloads page.
Konstantin Pavlov <thresh@nginx.com>
parents:
1598
diff
changeset
|
169 <path>/etc/yum.repos.d/nginx.repo</path> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
170 with the following contents: |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
171 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
172 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
173 [nginx-stable] |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
174 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
|
175 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
|
176 gpgcheck=1 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
177 enabled=1 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
178 gpgkey=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
|
179 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
180 [nginx-mainline] |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
181 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
|
182 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
|
183 gpgcheck=1 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
184 enabled=0 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
185 gpgkey=https://nginx.org/keys/nginx_signing.key |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
186 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
187 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
188 By default, the repository for stable nginx packages is used. |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
189 If you would like to use mainline nginx packages, run the following command: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
190 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
191 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
|
192 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
193 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
194 To install nginx, run the following command: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
195 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
196 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
|
197 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
198 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
199 When prompted to accept the GPG key, verify that the fingerprint matches |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
200 <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
|
201 and if so, accept it. |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
202 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
203 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
204 </section> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
205 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
206 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
207 <section name="Debian" id="Debian"> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
208 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
209 <para> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
210 Install the prerequisites: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
211 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
212 sudo apt install curl gnupg2 ca-certificates lsb-release |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
213 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
214 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
215 To set up the apt repository for stable nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
216 run the following command: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
217 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
218 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
|
219 | 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
|
220 </programlisting> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
221 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
222 If you would like to use mainline nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
223 run the following command instead: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
224 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
225 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
|
226 | 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
|
227 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
228 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
229 Next, import an official nginx signing key so apt could verify the packages |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
230 authenticity: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
231 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
232 curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
233 </programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
234 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
235 Verify that you now have the proper key: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
236 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
237 sudo apt-key fingerprint ABF5BD827BD9BF62 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
238 </programlisting> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
239 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
240 The output should contain the full fingerprint |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
241 <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
|
242 as follows: |
1364
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
243 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
244 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
|
245 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
|
246 uid [ unknown] nginx signing key <signing-key@nginx.com> |
1364
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
247 </programlisting> |
12d631cfbc9d
Documented SLES 12 packages availability.
Konstantin Pavlov <thresh@nginx.com>
parents:
1253
diff
changeset
|
248 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
249 To install nginx, run the following commands: |
2233
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
250 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
251 sudo apt update |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
252 sudo apt install nginx |
2233
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
253 </programlisting> |
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
254 </para> |
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
255 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
256 </section> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
257 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
258 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
259 <section name="Ubuntu" id="Ubuntu"> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
260 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
261 <para> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
262 Install the prerequisites: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
263 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
264 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
|
265 </programlisting> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
266 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
267 To set up the apt repository for stable nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
268 run the following command: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
269 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
270 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
|
271 | 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
|
272 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
273 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
274 If you would like to use mainline nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
275 run the following command instead: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
276 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
277 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
|
278 | 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
|
279 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
280 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
281 Next, import an official nginx signing key so apt could verify the packages |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
282 authenticity: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
283 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
284 curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
285 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
286 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
287 Verify that you now have the proper key: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
288 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
289 sudo apt-key fingerprint ABF5BD827BD9BF62 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
290 </programlisting> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
291 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
292 The output should contain the full fingerprint |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
293 <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
|
294 as follows: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
295 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
296 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
|
297 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
|
298 uid [ unknown] nginx signing key <signing-key@nginx.com> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
299 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
300 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
301 To install nginx, run the following commands: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
302 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
303 sudo apt update |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
304 sudo apt install nginx |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
305 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
306 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
307 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
308 </section> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
309 |
2322
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 <section name="SLES" id="SLES"> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
312 |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
313 <para> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
314 Install the prerequisites: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
315 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
316 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
|
317 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
318 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
319 To set up the zypper repository for stable nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
320 run the following command: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
321 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
322 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
323 'http://nginx.org/packages/sles/$releasever' nginx-stable |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
324 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
325 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
326 If you would like to use mainline nginx packages, |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
327 run the following command instead: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
328 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
329 sudo zypper addrepo --gpgcheck --type yum --refresh --check \ |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
330 'http://nginx.org/packages/mainline/sles/$releasever' nginx-mainline |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
331 </programlisting> |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
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 Next, import an official nginx signing key so zypper/rpm could verify |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
334 the packages authenticity. |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
335 Fetch the key: |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
336 <programlisting> |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
337 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
|
338 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
339 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
340 Verify that the downloaded file contains the proper key: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
341 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
342 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
|
343 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
344 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
345 The output should contain the full fingerprint |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
346 <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
|
347 as follows: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
348 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
349 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
|
350 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
|
351 uid nginx signing key <signing-key@nginx.com> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
352 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
353 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
354 Finally, import the key to the rpm database: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
355 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
356 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
|
357 </programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
358 |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
359 To install nginx, run the following command: |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
360 <programlisting> |
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
361 sudo zypper install nginx |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
362 </programlisting> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
363 </para> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
364 |
2322
bb03e6ac2f16
Added per-distro instructions on how to enable packages signature checks.
Konstantin Pavlov <thresh@videolan.org>
parents:
2321
diff
changeset
|
365 </section> |
2233
8f988cbe1296
Linux packages: added SLES 15.
Konstantin Pavlov <thresh@nginx.com>
parents:
2160
diff
changeset
|
366 |
2323
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
367 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
368 <section name="Alpine" id="Alpine"> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
369 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
370 <para> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
371 Install the prerequisites: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
372 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
373 sudo apk add openssl curl ca-certificates |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
374 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
375 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
376 To set up the apk repository for stable nginx packages, |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
377 run the following command: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
378 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
379 printf "%s%s%s\n" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
380 "http://nginx.org/packages/alpine/v" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
381 `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
382 "/main" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
383 | sudo tee -a /etc/apk/repositories |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
384 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
385 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
386 If you would like to use mainline nginx packages, |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
387 run the following command instead: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
388 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
389 printf "%s%s%s\n" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
390 "http://nginx.org/packages/mainline/alpine/v" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
391 `egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release` \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
392 "/main" \ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
393 | sudo tee -a /etc/apk/repositories |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
394 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
395 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
396 Next, import an official nginx signing key so apk could verify |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
397 the packages authenticity. |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
398 Fetch the key: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
399 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
400 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
|
401 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
402 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
403 Verify that downloaded file contains the proper key: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
404 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
405 openssl rsa -pubin -in /tmp/nginx_signing.rsa.pub -text -noout |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
406 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
407 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
408 The output should contain the following modulus: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
409 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
410 Public-Key: (2048 bit) |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
411 Modulus: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
412 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
|
413 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
|
414 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
|
415 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
|
416 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
|
417 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
|
418 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
|
419 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
|
420 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
|
421 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
|
422 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
|
423 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
|
424 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
|
425 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
|
426 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
|
427 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
|
428 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
|
429 ab:6d |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
430 Exponent: 65537 (0x10001) |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
431 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
432 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
433 Finally, move the key to apk trusted keys storage: |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
434 <programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
435 sudo mv /tmp/nginx_signing.rsa.pub /etc/apk/keys/ |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
436 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
437 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
438 To install nginx, run the following command: |
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 sudo apk add nginx |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
441 </programlisting> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
442 </para> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
443 |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
444 </section> |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
445 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
446 </section> |
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
447 |
932
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
448 |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
449 <section name="Source Packages" id="sourcepackages"> |
1482
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
450 |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
451 <para> |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
452 Packaging sources can be found in the |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
453 <link url="http://hg.nginx.org/pkg-oss">packaging sources repository</link>. |
1482
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
454 </para> |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
455 |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
456 <para> |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
457 The <literal>default</literal> branch holds packaging sources for the current |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
458 mainline version, while <literal>stable-*</literal> branches contain latest |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
459 sources for stable releases. |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
460 To build binary packages, run <command>make</command> in |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
461 <path>debian/</path> directory on Debian/Ubuntu, or in |
2323
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
462 <path>rpm/SPECS/</path> on RHEL/CentOS/SLES, or in |
eaef8f4ca921
Added Alpine Linux.
Konstantin Pavlov <thresh@videolan.org>
parents:
2322
diff
changeset
|
463 <path>apk/</path> on Alpine. |
1788
e739f2281571
Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents:
1787
diff
changeset
|
464 </para> |
e739f2281571
Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents:
1787
diff
changeset
|
465 |
e739f2281571
Mentioned --with-stream_realip_module configure argument for mainline packages.
Konstantin Pavlov <thresh@nginx.com>
parents:
1787
diff
changeset
|
466 <para> |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
467 Packaging sources are distributed under the same |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
468 <link url="../LICENSE">2-clause BSD-like license</link> used by nginx. |
1482
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
469 </para> |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
470 |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
471 </section> |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
472 |
f595fb427509
Configure arguments list for pre-built packages added.
Sergey Budnevitch <sb@waeme.net>
parents:
1470
diff
changeset
|
473 |
1681
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
474 <section name="Dynamic Modules" id="dynmodules"> |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
475 |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
476 <para> |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
477 Main nginx package is built with all modules that do not require additional |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
478 libraries to avoid extra dependencies. |
1681
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
479 Since version 1.9.11, nginx supports |
1922
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
480 <link doc="docs/ngx_core_module.xml" id="load_module">dynamic modules</link> |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
481 and the following modules are built as dynamic and shipped as separate |
94493c0ff5f6
Introduced "Source Packages" section.
Konstantin Pavlov <thresh@nginx.com>
parents:
1921
diff
changeset
|
482 packages: |
1681
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
483 <programlisting> |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
484 nginx-module-geoip |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
485 nginx-module-image-filter |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
486 nginx-module-njs |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
487 nginx-module-perl |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
488 nginx-module-xslt |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
489 </programlisting> |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
490 </para> |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
491 |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
492 </section> |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
493 |
3a9097dc9d86
Linux packages for dynamic modules.
Fedor Dikarev <fe@nginx.com>
parents:
1661
diff
changeset
|
494 |
932
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
495 <section name="Signatures" id="signatures"> |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
496 |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
497 <para> |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
498 Since our <link doc="../en/pgp_keys.xml">PGP keys</link> |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
499 and packages are located on the same server, |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
500 they are equally trusted. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
501 It is highly advised to additionally verify |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
502 the authenticity of the downloaded PGP key. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
503 PGP has the “Web of Trust” concept, |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
504 when a key is signed by someone else’s key, |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
505 that in turn is signed by another key and so on. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
506 It often makes possible to build a chain from an arbitrary key |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
507 to someone’s key who you know and trust personally, |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
508 thus verify the authenticity of the first key in a chain. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
509 This concept is described in details in |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
510 <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
|
511 GPG Mini Howto</link>. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
512 Our keys have enough signatures, |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
513 and their authenticity is relatively easy to check. |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
514 </para> |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
515 |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
516 </section> |
774505846a54
Section about packages' and repositories' signatures added.
Sergey Budnevitch <sb@waeme.net>
parents:
915
diff
changeset
|
517 |
882
d1002c39ac0a
Linux packages related information moved to separate page.
Sergey Budnevitch <sb@waeme.net>
parents:
diff
changeset
|
518 </article> |