标签:centos emctl 配置 tcp word 默认 man 全局 png
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
标签:centos emctl 配置 tcp word 默认 man 全局 png
原文地址:https://www.cnblogs.com/angelyan/p/12227974.html