centos7设置httpd

1.httpd开机自启动

systemctl enable httpd.service

2.httpd开机不自启动

systemctl disable httpd.service

3.启动httpd

systemctl start httpd.service

4.停止httpd

systemctl stop httpd.service

5.重启httpd

systemctl restart httpd.service

6.检查httpd状态

systemctl status httpd.service

posted @ 2017-03-08 20:54  Brin Page  阅读(198)  评论(0编辑  收藏  举报