1. 安装Nginx
#yum install nginx #配置文件处于/etc/nginx
#systemctl start nginx #启动nginx
#systemctl enable nginx.service # 设置为开机启动
#systemctl status firewalld #检查防火墙,如果为active (running),则
#vim /etc/firewalld/zones/public.xml # 在zone
…
#systemctl reload firewa
1