1.启动,在nginx的sbin目录下执行: ./nginx -c /opt/nginx-1-13/conf/nginx.conf 2.杀掉nginx进程 ps -ef|grep nginx kill -9 进程ID