Projekt

Allgemein

Profil

Setup nginx » Historie » Version 1

Jeremias Keihsler, 21.09.2021 19:28

1 1 Jeremias Keihsler
h1. Install Procedure for nginx
2
3
h2. Requirements
4
5
To install apache you will need the following:
6
* a installed and supported operating system (e.g. CentOS 8.x)
7
* root-access
8
* a fast internet connection
9
10
h2. Preliminary Note
11
12
This procedure is based on a documentation supplied by https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-8-de
13
14
h2. Install 
15
16
<pre><code class="bash">
17
dnf install nginx
18
</code></pre>
19
20
h2. Service 
21
22
<pre><code class="bash">
23
systemctl start nginx
24
systemctl enable nginx
25
</code></pre>
26
27
h2. Firewall 
28
29
<pre><code class="bash">
30
firewall-cmd --permanent --zone=public --add-service=http
31
firewall-cmd --permanent --zone=public --add-service=https
32
firewall-cmd --reload
33
</code></pre>