linux centos nginx 重启, 关闭,启动
/usr/nginx/sbin/nginx -s reload[......]
关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
yum install iptables-services
vi /etc/sysconfig/iptables
systemctl restart iptables.service #最后重启防火墙使配置生效
systemctl enable iptables.service[......]