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