comparison xml/ru/linux_packages.xml @ 1482:f595fb427509

Configure arguments list for pre-built packages added.
author Sergey Budnevitch <sb@waeme.net>
date Tue, 19 May 2015 14:47:15 +0300
parents 28cf30b5818f
children 9f645014f4a7
comparison
equal deleted inserted replaced
1481:f29398a167d0 1482:f595fb427509
5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd"> 5 <!DOCTYPE article SYSTEM "../../dtd/article.dtd">
6 6
7 <article name="nginx: пакеты для Linux" 7 <article name="nginx: пакеты для Linux"
8 link="/ru/linux_packages.html" 8 link="/ru/linux_packages.html"
9 lang="ru" 9 lang="ru"
10 rev="11" 10 rev="12"
11 toc="no"> 11 toc="no">
12 12
13 <section id="distributions"> 13 <section id="distributions">
14 14
15 <para> 15 <para>
328 <para> 328 <para>
329 Для SLES выполните команду: 329 Для SLES выполните команду:
330 <programlisting> 330 <programlisting>
331 zypper addrepo -G -t yum -c 'http://nginx.org/packages/mainline/sles/12' nginx 331 zypper addrepo -G -t yum -c 'http://nginx.org/packages/mainline/sles/12' nginx
332 </programlisting> 332 </programlisting>
333 </para>
334
335 </section>
336
337
338 <section name="Аргументы configure" id="arguments">
339
340 <para>
341 Общие аргументы configure для nginx из пакетов стабильной версии:
342 <programlisting>
343 --prefix=/etc/nginx
344 --sbin-path=/usr/sbin/nginx
345 --conf-path=/etc/nginx/nginx.conf
346 --error-log-path=/var/log/nginx/error.log
347 --http-log-path=/var/log/nginx/access.log
348 --pid-path=/var/run/nginx.pid
349 --lock-path=/var/run/nginx.lock
350 --http-client-body-temp-path=/var/cache/nginx/client_temp
351 --http-proxy-temp-path=/var/cache/nginx/proxy_temp
352 --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
353 --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
354 --http-scgi-temp-path=/var/cache/nginx/scgi_temp
355 --user=nginx
356 --group=nginx
357 --with-http_ssl_module
358 --with-http_realip_module
359 --with-http_addition_module
360 --with-http_sub_module
361 --with-http_dav_module
362 --with-http_flv_module
363 --with-http_mp4_module
364 --with-http_gunzip_module
365 --with-http_gzip_static_module
366 --with-http_random_index_module
367 --with-http_secure_link_module
368 --with-http_stub_status_module
369 --with-http_auth_request_module
370 --with-mail
371 --with-mail_ssl_module
372 --with-file-aio
373 --with-http_spdy_module
374 --with-ipv6
375 </programlisting>
376 </para>
377
378 <para>
379 Пакеты для mainline-версии добавляют к списку:
380 <programlisting>
381 --with-threads
382 --with-stream
383 --with-stream_ssl_module
384 </programlisting>
385 </para>
386
387 <para>
388 Для того чтобы избежать увеличения числа зависимостей, пакеты не включают
389 модули, которым требуются дополнительные библиотеки.
333 </para> 390 </para>
334 391
335 </section> 392 </section>
336 393
337 394