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