你的位置:首页 > 软件开发 > 操作系统 > nginx启动、关闭、重启

nginx启动、关闭、重启

发布时间:2016-06-15 11:00:05
1、启动[root@localhost local]# nginx/sbin/nginx #启动[root@localhost local]# nginx/sbin/nginx -t #检查配置文件是否正确nginx: the configuration file /usr/l ...

1、启动

[root@localhost local]# nginx/sbin/nginx  #启动[root@localhost local]# nginx/sbin/nginx -t #检查配置文件是否正确nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is oknginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful[root@localhost local]# netstat -ntlpActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address        Foreign Address       State    PID/Program name  tcp    0   0 0.0.0.0:80         0.0.0.0:*          LISTEN   2756/nginx     

原标题:nginx启动、关闭、重启

关键词:nginx

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

我的浏览记录