Centos7 Nginx状态查看,启动、重启、停止、重载命令

2021年6月17日15:41:28 评论 1,883
首月免费体验

4.命令
systemctl start nginx.service    启动
systemctl stop nginx.service    停止
systemctl reload nginx.service    重载
systemctl status nginx.service     状态
————————————————

扩展

查看80端口被哪个服务占用

netstat -antp | grep :80

 

 

 

weinxin
博主微信
这是我的微信扫一扫

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: