Redhat8 - Install Nginx, Apache, Redis, php7.4-fpm, MySQL, PostgreSQL
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