yum安装的apache 卸载命令
# yum list | grep httpd 显示安装的目录
# yum erase httpd.x86_64 卸载httpd
#rpm -qa|grep apr
apr-util-1.5.2-6.el7.x86_64
apr-1.4.8-3.el7.x86_64
#rpm -e --nodeps --allmatches apr-util-1.5.2-6.el7
#rpm -e --nodeps --allmatches apr-1.4.8-3.el7
#rpm -qa httpd
httpd-2.4.6-31.el7.centos.x86_64
# rpm -e --nodeps --allmatches httpd-2.4.6-31.el7.centos