返回列表 发帖

卸载CentOS自带的Apache

1、查看与httpd相关软件包
[root@localhost etc]# rpm -qa|grep httpd
httpd-tools-2.2.15-60.el6.centos.6.x86_64
httpd-2.2.15-60.el6.centos.6.x86_64

2、删除httpd:
[root@localhost etc]# rpm -e httpd
rpm -e httpd-tools

如果出现错误提示:
error: Failed dependencies:
httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
则清除之,即:
[root@localhost etc]# rpm -e gnome-user-share
3、看一下还有没有httpd相关
whereis httpd
4、如果有,则
rm -rf /etc/httpd
欢迎光临:逐梦论坛

返回列表

Powered by Discuz! 7.2   论坛QQ群:逐梦论坛群

© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号