view xml/en/docs/install.xml @ 2060:237b67ef69a6

Improved win32 build instructions. Added "--with-openssl-opt=no-asm" argument which is required since OpenSSL 1.0.2, as OpenSSL started to use assembler by default in 1.0.0 and then broke builds with MASM in OpenSSL 1.0.2 (ticket #1396). While here, added "--with-debug", added missing "--http-scgi-temp-path" and "--http-uwsgi-temp-path", updated OpenSSL to 1.0.2l, switched to slightly more readable one-argument-per-line style in configure example, added indentation to continuation lines, removed useless "--builddir=objs" argument ("objs" is the default), and removed useless "-f objs/Makefile" argument in nmake (nginx generates appropriate Makefile in the current directory).
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 17 Oct 2017 17:57:36 +0300
parents b93422ca9fe7
children ce5e7e986710
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

<!DOCTYPE article SYSTEM "../../../dtd/article.dtd">

<article name="Installing nginx"
         link="/en/docs/install.html"
         lang="en"
         rev="2"
         toc="no">

<section>

<para>
nginx can be installed differently, depending on the operating system.
</para>

</section>


<section id="linux" name="Installation on Linux">

<para>
For Linux, nginx <link doc="../linux_packages.xml">packages</link>
from nginx.org can be used.
</para>

</section>


<section id="freebsd" name="Installation on FreeBSD">

<para>
On FreeBSD, nginx can be installed either from the <link
url="http://www.freebsd.org/doc/handbook/pkgng-intro.html">packages</link>
or through the
<link url="http://www.freebsd.org/doc/handbook/ports-using.html">ports</link>
system.
The ports system provides greater flexibility, allowing selection among
a wide range of options.
The port will compile nginx with the specified options and install it.
</para>

</section>


<section id="source_install" name="Building from Sources">

<para>
If some special functionality is required, not available with packages and
ports, nginx can also be compiled from source files.
While more flexible, this approach may be complex for a beginner.
For more information, see <link doc="configure.xml"/>.
</para>

</section>

</article>