标签:docker centos comment groovy ice add 技术 安装 lease
sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
sudo yum install -y nginx
sudo systemctl start nginx.service
如果一切进展顺利的话,现在你可以通过你的域名或IP来访问你的Web页面来预览一下Nginx的默认页面;
sudo systemctl enable nginx.service
##Add
firewall-cmd --permanent --zone=public --add-port=80/tcp
##Reload
firewall-cmd --reload
/usr/share/nginx/html
/etc/nginx/conf.d/default.conf
/etc/nginx/conf.d/
/etc/nginx/nginx.conf
nginx -c nginx.conf
转载博主:https://www.cnblogs.com/larryzq/p/11009045.html
标签:docker centos comment groovy ice add 技术 安装 lease
原文地址:https://www.cnblogs.com/yyhhblog/p/12962025.html