Apache损坏无法使用怎么办

已经 find / -name httpd | xargs rm -rf删光了httpd相关文件,但是使用yum install httpd 无法正常安装。

查看Httpd的状态是

解决办法:

yum erase httpd.x86_64

yum install httpd

service httpd start

service httpd status

原文地址:https://www.cnblogs.com/peteremperor/p/10839161.html