how to install Nginx on CentOS 7 All In One
how to install Nginx on CentOS 7 All In One
$ sudo yum install epel-release
$ sudo yum install nginx
$ sudo systemctl start nginx
$ sudo firewall-cmd --permanent --zone=public --add-service=http
$ sudo firewall-cmd --permanent --zone=public --add-service=https
$ sudo firewall-cmd --reload
# root
$ yum install epel-release
$ yum install nginx
$ systemctl start nginx
$ firewall-cmd --permanent --zone=public --add-service=http
$ firewall-cmd --permanent --zone=public --add-service=https
$ firewall-cmd --reload
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7
refs
How To Install Linux, Nginx, MySQL, PHP (LEMP) stack on Ubuntu 14.04
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14661666.html
未经授权禁止转载,违者必究!