文件位置/etc/httpd/conf

httpd启动

systemctl start httpd.service

httpd停止

systemctl stop httpd.service

httpd重启

systemctl restart httpd.service

httpd开机启动

systemctl enable httpd.service

httpd开机不启动

systemctl disable httpd.service

查看httpd状态

systemctl status httpd.service