Mercurial > hg > nginx-site
comparison xml/en/download.xml @ 882:d1002c39ac0a
Linux packages related information moved to separate page.
Documentation about packages for mainline version added.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 02 Apr 2013 20:53:03 +0400 |
parents | 6bc7481ccd6e |
children | 675f5c67b45c |
comparison
equal
deleted
inserted
replaced
881:d7f2325fa832 | 882:d1002c39ac0a |
---|---|
59 </para> | 59 </para> |
60 | 60 |
61 </section> | 61 </section> |
62 | 62 |
63 | 63 |
64 <section name="Pre-Built Linux Packages for Stable"> | 64 <section name="Pre-Built Packages"> |
65 | 65 |
66 <para> | 66 <para> |
67 To enable automatic updates of Linux packages | |
68 set up the yum repository for the RHEL/CentOS distributions, | |
69 or the apt repository for the Debian/Ubuntu distributions. | |
70 </para> | |
71 | |
72 <para> | |
73 To set up the yum repository for RHEL/CentOS, choose the corresponding | |
74 <literal>nginx-release</literal> package from the list: | |
75 | |
76 <list type="bullet"> | 67 <list type="bullet"> |
77 | 68 |
78 <listitem> | 69 <listitem> |
79 <link url="http://nginx.org/packages/rhel/5/noarch/RPMS/nginx-release-rhel-5-0.el5.ngx.noarch.rpm">RHEL 5</link> | 70 Linux packages for |
71 <link doc="linux_packages.xml" id="stable">stable version</link> | |
80 </listitem> | 72 </listitem> |
81 | 73 |
82 <listitem> | 74 <listitem> |
83 <link url="http://nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm">RHEL 6</link> | 75 Linux packages for |
84 </listitem> | 76 <link doc="linux_packages.xml" id="mainline">mainline version</link> |
85 | |
86 <listitem> | |
87 <link url="http://nginx.org/packages/centos/5/noarch/RPMS/nginx-release-centos-5-0.el5.ngx.noarch.rpm">CentOS 5</link> | |
88 </listitem> | |
89 | |
90 <listitem> | |
91 <link url="http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm">CentOS 6</link> | |
92 </listitem> | 77 </listitem> |
93 | 78 |
94 </list> | 79 </list> |
95 | |
96 This package contains yum configuration file | |
97 and a public PGP key necessary to authenticate signed RPMs. | |
98 Download and install it, then run the following: | |
99 <programlisting> | |
100 yum install nginx | |
101 </programlisting> | |
102 | |
103 Alternatively, a repository configuration can be added manually | |
104 without installing the <literal>nginx-release</literal> package. | |
105 Create the file named <path>/etc/yum.repos.d/nginx.repo</path> | |
106 with the following contents: | |
107 | |
108 <programlisting> | |
109 [nginx] | |
110 name=nginx repo | |
111 baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ | |
112 gpgcheck=0 | |
113 enabled=1 | |
114 </programlisting> | |
115 | |
116 Replace “<literal>OS</literal>” with “<literal>rhel</literal>” or | |
117 “<literal>centos</literal>”, | |
118 depending on the distribution used, and “<literal>OSRELEASE</literal>” | |
119 with “<literal>5</literal>” or “<literal>6</literal>”, | |
120 for 5.x or 6.x versions, respectively. | |
121 </para> | |
122 | |
123 <para> | |
124 For Debian/Ubuntu, in order to authenticate the nginx repository signature | |
125 and to eliminate warnings about missing gpg key during installation of the | |
126 nginx package, it is necessary to add the key used to sign the nginx | |
127 packages and repository to the <command>apt</command> program keyring. | |
128 Please download <link url="http://nginx.org/keys/nginx_signing.key">this | |
129 key</link> from our web site, and add it to the <command>apt</command> | |
130 program keyring with the following command: | |
131 <programlisting> | |
132 sudo apt-key add nginx_signing.key | |
133 </programlisting> | |
134 </para> | |
135 | |
136 <para> | |
137 For Debian replace <i>codename</i> with Debian distribution | |
138 codename, and append the following to the end of the | |
139 <path>/etc/apt/sources.list</path> file: | |
140 | |
141 <programlisting> | |
142 deb http://nginx.org/packages/debian/ <i>codename</i> nginx | |
143 deb-src http://nginx.org/packages/debian/ <i>codename</i> nginx | |
144 </programlisting> | |
145 </para> | |
146 | |
147 <para> | |
148 Supported Debian versions: | |
149 | |
150 <table note="yes"> | |
151 | |
152 <tr> | |
153 <td width="20%">Version</td> | |
154 <td>Codename</td> | |
155 </tr> | |
156 | |
157 <tr> | |
158 <td width="20%">6.x</td> | |
159 <td>squeeze</td> | |
160 </tr> | |
161 | |
162 </table> | |
163 </para> | |
164 | |
165 <para> | |
166 For Ubuntu replace <i>codename</i> with Ubuntu distribution | |
167 codename, and append the following to the end of the | |
168 <path>/etc/apt/sources.list</path> file: | |
169 | |
170 <programlisting> | |
171 deb http://nginx.org/packages/ubuntu/ <i>codename</i> nginx | |
172 deb-src http://nginx.org/packages/ubuntu/ <i>codename</i> nginx | |
173 </programlisting> | |
174 </para> | |
175 | |
176 <para> | |
177 Supported Ubuntu versions: | |
178 | |
179 <table note="yes"> | |
180 | |
181 <tr> | |
182 <td width="20%">Version</td> | |
183 <td>Codename</td> | |
184 </tr> | |
185 | |
186 <tr> | |
187 <td width="20%">10.04</td> | |
188 <td>lucid</td> | |
189 </tr> | |
190 | |
191 <tr> | |
192 <td width="20%">11.10</td> | |
193 <td>oneiric</td> | |
194 </tr> | |
195 | |
196 <tr> | |
197 <td width="20%">12.04</td> | |
198 <td>precise</td> | |
199 </tr> | |
200 | |
201 <tr> | |
202 <td width="20%">12.10</td> | |
203 <td>quantal</td> | |
204 </tr> | |
205 | |
206 </table> | |
207 </para> | |
208 | |
209 <para> | |
210 For Debian/Ubuntu then run the following commands: | |
211 <programlisting> | |
212 apt-get update | |
213 apt-get install nginx | |
214 </programlisting> | |
215 </para> | 80 </para> |
216 | 81 |
217 </section> | 82 </section> |
218 | 83 |
219 </article> | 84 </article> |