Redhat8 - Install Nginx, Apache, Redis, php7.4-fpm, MySQL, PostgreSQL

From Rhomicom Wiki
Revision as of 20:16, 29 January 2021 by Admin (talk | contribs)
Jump to navigation Jump to search

## nginx

sudo dnf install nginx

sudo systemctl start nginx

sudo yum install firewalld

sudo systemctl start firewalld

sudo systemctl enable firewalld

sudo systemctl status firewalld

sudo firewall-cmd --permanent --add-service=http

sudo firewall-cmd --permanent --add-service=https

sudo firewall-cmd --permanent --list-all

sudo firewall-cmd --reload

nano /etc/firewalld/firewalld.conf

# AllowZoneDrifting=no