美文网首页
httpd 命令

httpd 命令

作者: 夜色微微良 | 来源:发表于2019-07-17 10:18 被阅读0次
  1. 启动、终止、重启

systemctl start httpd.service #启动

systemctl stop httpd.service#停止

systemctl restart httpd.service #重启

2.设置开机启动/关闭
systemctl enable httpd.service #开机启动

systemctl disable httpd.service #开机不启动

3.检查httpd状态
systemctl status httpd.service

相关文章

网友评论

      本文标题:httpd 命令

      本文链接:https://www.haomeiwen.com/subject/hjlmkctx.html