-- 安装
>yum install nginx -y
-- 查看
>whereis nginx


>目录
>/usr/sbin/nginx 执行命令
>/etc/nginx 配置文件位置



>启动
>/usr/sbin/nginx -c /etc/nginx/nginx.conf

>停止
sbin>nginx -s stop

 





 

posted on 2018-01-27 10:22  1161588342  阅读(97)  评论(0编辑  收藏  举报