Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nginx
GitHub Repository: nginx/nginx.org
Path: blob/main/xml/en/docs/install.xml
1 views
1
<!--
2
Copyright (C) Igor Sysoev
3
Copyright (C) Nginx, Inc.
4
-->
5
6
<!DOCTYPE article SYSTEM "../../../dtd/article.dtd">
7
8
<article name="Installing nginx"
9
link="/en/docs/install.html"
10
lang="en"
11
rev="3"
12
toc="no">
13
14
<section>
15
16
<para>
17
nginx can be installed differently, depending on the operating system.
18
</para>
19
20
</section>
21
22
23
<section id="linux" name="Installation on Linux">
24
25
<para>
26
For Linux, nginx <link doc="../linux_packages.xml">packages</link>
27
from nginx.org can be used.
28
</para>
29
30
</section>
31
32
33
<section id="freebsd" name="Installation on FreeBSD">
34
35
<para>
36
On FreeBSD, nginx can be installed either from the <link
37
url="https://docs.freebsd.org/en/books/handbook/ports/#pkgng-intro">packages</link>
38
or through the
39
<link url="https://docs.freebsd.org/en/books/handbook/ports/#ports-using">ports</link>
40
system.
41
The ports system provides greater flexibility, allowing selection among
42
a wide range of options.
43
The port will compile nginx with the specified options and install it.
44
</para>
45
46
</section>
47
48
49
<section id="source_install" name="Building from Sources">
50
51
<para>
52
If some special functionality is required, not available with packages and
53
ports, nginx can also be compiled from source files.
54
While more flexible, this approach may be complex for a beginner.
55
For more information, see <link doc="configure.xml"/>.
56
</para>
57
58
</section>
59
60
</article>
61
62