CentOS7系统httpd服务 – 开机启动/重启/查看状态
第一、启动、终止、重启
systemctl start httpd.service #启动
systemctl stop httpd.service #停止
systemctl restart httpd.service #重启
第二、设置开机启动/关闭
systemctl enable httpd.service #开机启动
systemctl disable httpd.service #开机不启动
第三、检查httpd状态
systemctl status httpd.service
声明:
1.本站主要是为了记录工作、学习中遇到的问题,可能由于本人技术有限,内容难免有纰漏,一切内容仅供参考。
2.本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!
3.本站所有原创作品,包括文字、资料、图片、网页格式,转载时请标注作者与来源。
1.本站主要是为了记录工作、学习中遇到的问题,可能由于本人技术有限,内容难免有纰漏,一切内容仅供参考。
2.本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!
3.本站所有原创作品,包括文字、资料、图片、网页格式,转载时请标注作者与来源。
THE END
![icon](https://www.baishitou.cn/wp-content/themes/CoreNext/static/img/icon/like.png)
0
![icon](https://www.baishitou.cn/wp-content/themes/CoreNext/static/img/icon/money.png)
打赏
![icon](https://www.baishitou.cn/wp-content/themes/CoreNext/static/img/icon/share2.png)
分享
![icon](https://www.baishitou.cn/wp-content/themes/CoreNext/static/img/icon/qrcode.png)
二维码
![icon](https://www.baishitou.cn/wp-content/themes/CoreNext/static/img/icon/poster2.png)
海报