1,平滑重启nginx kill -HUP 主进程号 2,查看主进程号 ps -ef | grep nginx 3,修改eth0网卡的ip vim /etc/sysconfig/network-scripts/ifcfg-eth0