Aktionen
Install Procedure for nginx¶
Requirements¶
To install apache you will need the following:- a installed and supported operating system (e.g. CentOS 8.x)
- root-access
- a fast internet connection
Preliminary Note¶
This procedure is based on a documentation supplied by https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-8-de
Install¶
there are multiple streams available.
dnf module list | grep nginx
as of 2021-10-19:
1.14 (default), 1.16, 1.18, mainline, 1.20
dnf module enable nginx:1.18
dnf install nginx
Service¶
systemctl start nginx
systemctl enable nginx
Firewall¶
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
Von Jeremias Keihsler vor etwa 3 Jahren aktualisiert · 2 Revisionen