进入/usr/local/nginx/sbin目录,输入./nginx即可启动nginx
./nginx
./nginx -s quit 或者 ./nginx -s stop
./nginx -s reload
ps aux|grep nginx
vim /etc/rc.local