comparison xml/en/linux_packages.xml @ 1922:94493c0ff5f6

Introduced "Source Packages" section.
author Konstantin Pavlov <thresh@nginx.com>
date Thu, 02 Mar 2017 17:42:37 +0300
parents ef3590465d67
children abc05dc025d9
comparison
equal deleted inserted replaced
1921:ef3590465d67 1922:94493c0ff5f6
5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> 5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd">
6 6
7 <article name="nginx: Linux packages" 7 <article name="nginx: Linux packages"
8 link="/en/linux_packages.html" 8 link="/en/linux_packages.html"
9 lang="en" 9 lang="en"
10 rev="23" 10 rev="24"
11 toc="no"> 11 toc="no">
12 12
13 <section id="distributions"> 13 <section id="distributions">
14 14
15 <para> 15 <para>
285 </para> 285 </para>
286 286
287 </section> 287 </section>
288 288
289 289
290 <section name="Configure Arguments" id="arguments"> 290 <section name="Source Packages" id="sourcepackages">
291 291
292 <para> 292 <para>
293 Configure arguments common for nginx binaries from pre-built packages for stable version: 293 Packaging sources can be found in the
294 <programlisting> 294 <link url="http://hg.nginx.org/pkg-oss">packaging sources repository</link>.
295 --prefix=/etc/nginx 295 </para>
296 --sbin-path=/usr/sbin/nginx 296
297 --conf-path=/etc/nginx/nginx.conf 297 <para>
298 --error-log-path=/var/log/nginx/error.log 298 The <literal>default</literal> branch holds packaging sources for the current
299 --http-log-path=/var/log/nginx/access.log 299 mainline version, while <literal>stable-*</literal> branches contain latest
300 --pid-path=/var/run/nginx.pid 300 sources for stable releases.
301 --lock-path=/var/run/nginx.lock 301 To build binary packages, run <command>make</command> in
302 --http-client-body-temp-path=/var/cache/nginx/client_temp 302 <path>debian/</path> directory on Debian/Ubuntu, or in
303 --http-proxy-temp-path=/var/cache/nginx/proxy_temp 303 <path>rpm/SPECS/</path> on RHEL/CentOS/SLES.
304 --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp 304 </para>
305 --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp 305
306 --http-scgi-temp-path=/var/cache/nginx/scgi_temp 306 <para>
307 --user=nginx 307 Packaging sources are distributed under the same
308 --group=nginx 308 <link url="../LICENSE">2-clause BSD-like license</link> used by nginx.
309 --with-http_ssl_module 309 </para>
310 --with-http_realip_module 310
311 --with-http_addition_module 311 </section>
312 --with-http_sub_module 312
313 --with-http_dav_module 313
314 --with-http_flv_module 314 <section name="Dynamic Modules" id="dynmodules">
315 --with-http_mp4_module
316 --with-http_gunzip_module
317 --with-http_gzip_static_module
318 --with-http_random_index_module
319 --with-http_secure_link_module
320 --with-http_stub_status_module
321 --with-http_auth_request_module
322 --with-threads
323 --with-stream
324 --with-stream_ssl_module
325 --with-http_slice_module
326 --with-mail
327 --with-mail_ssl_module
328 --with-file-aio
329 --with-http_v2_module
330 --with-ipv6
331 </programlisting>
332 </para>
333
334 <para>
335 Packages for mainline version also have the following arguments:
336 <programlisting>
337 --with-stream_realip_module
338 </programlisting>
339 </para>
340 315
341 <para> 316 <para>
342 Main nginx package is built with all modules that do not require additional 317 Main nginx package is built with all modules that do not require additional
343 libraries to avoid extra dependencies. 318 libraries to avoid extra dependencies.
344 </para>
345
346 </section>
347
348
349 <section name="Dynamic Modules" id="dynmodules">
350
351 <para>
352 Since version 1.9.11, nginx supports 319 Since version 1.9.11, nginx supports
353 <link doc="docs/ngx_core_module.xml" id="load_module">dynamic modules</link>. 320 <link doc="docs/ngx_core_module.xml" id="load_module">dynamic modules</link>
354 Currently, the following modules are built as dynamic 321 and the following modules are built as dynamic and shipped as separate
355 and shipped as separate packages: 322 packages:
356 <programlisting> 323 <programlisting>
357 nginx-module-geoip 324 nginx-module-geoip
358 nginx-module-image-filter 325 nginx-module-image-filter
359 nginx-module-njs 326 nginx-module-njs
360 nginx-module-perl 327 nginx-module-perl