xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-04-15 11:20  xgqfrms  阅读(54)  评论(2编辑  收藏  举报