1)浏览目录至nginx sbin目录下
cd xxx/nginx-1.8.0/sbin
2)启动:./nginx
./nginx
3)重启:./nginx -s reload
./nginx -s reload
备注:重启命令适用于当前nginx修改配置等有进程在运行时执行