/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 启动
ps -ef | grep nginx 查看进程 找进程号
nobody 29565 29564 0 11:13 ? 00:00:00 nginx: worker process
nobody 29566 29564 0 11:13 ? 00:00:00 nginx: cache manager process
root 29906 26503 0 11:27 pts/0 00:00:00 grep --color=auto nginx
kill -QUIT 29564 结束进程
curl http://127.0.0.1:8888 查看启动是否正常
cd/usr/local/nginx/ 切换路径
ll 查看文件
解压
replace pomp/index.html? [y]es, [n]o, [A]ll, [N]one, [r]ename: A 执行A
[[email protected] nginx]# cd sbin/ 切路径
[[email protected] sbin]# ./nginx -s reload 重启