1.httpd开机自启动rest
systemctl enable httpd.serviceservice
2.httpd开机不自启动top
systemctl disable httpd.servicedi
3.启动httpdvi
systemctl start httpd.servicehttpd
4.中止httpdab
systemctl stop httpd.servicetar
5.重启httpd
systemctl restart httpd.service
6.检查httpd状态
systemctl status httpd.service