沉睡个人博客
沉睡个人博客
博客
工具箱
留言板
沉睡个人博客
博客
工具箱
首页
Linux
nginx的查看、启动、停止、重载、查看版本号、状态命令
nginx的查看、启动、停止、重载、查看版本号、状态命令
1,045人已阅读
时间:2022-07-07 22:14:25
### nginx的查看、启动、停止、重载、查看版本号、状态命令 1.查看nginx运行状态 $ ps -ef | grep nginx 2.查看nginx版本号 $ nginx -V 3.查看nginx状态 $ systemctl status nginx.service 4.启动nginx $ systemctl start nginx.service 5.停止nginx $ systemctl stop nginx.service 6.重载nginx $ systemctl reload nginx.service 注意:当配置完Nginx.conf并重新启动Nginx时,需要一定的时间才会生效。
上一篇:git 查看本地提交记录、回滚到本地的某次提交
下一篇:Mac brew安装redis