意见箱
恒创运营部门将仔细参阅您的意见和建议,必要时将通过预留邮箱与您保持联络。感谢您的支持!
意见/建议
提交建议

nginx关闭/重启/启动方法介绍

来源:恒创科技 编辑:恒创科技编辑部
2023-12-12 13:32:59

关闭

service nginx stop
systemctl stop nginx

启动

service nginx start
systemctl start nginx

(推荐教程:nginx教程)

重启

service nginx reload
systemctl restart nginx

随系统启动自动运行

systemctl enable nginx

禁止随系统启动自动运行

systemctl disable nginx

以上就是nginx关闭/重启/启动方法介绍的详细内容,更多请关注恒创科技其它相关文章!

上一篇: nginx执行sbin/nginx-sreload命令出错了怎么办 下一篇: 关于nginx基于epoll模型事件驱动流程详解