0x00 前言
本来也没想过要把httpd
卸载的,但是我在重启httpd服务时报错,怎么都启动不了,尝试了好多办法也行不通,无奈只有卸载重装。
0x01 httpd报错
0x02 查看有没有安装过httpd
yum list | grep httpd
停止服务
systemctl stop httpd.service
0x03 卸载httpd
yum erase -y httpd.x86_64
0x04 安装httpd
yum install -y httpd
0x05 启动服务并查看运行状态
systemctl start httpd
systemctl status httpd