最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
CentOS卸载Apache方法详解
时间:2022-11-14 22:08:37 编辑:袖梨 来源:一聚教程网
首先关闭httpd服务
/etc/init.d/httpd stop
列出httpd相关程序包
rpm -qa|grep httpd
列出包如下
httpd-2.2.3-63.el5.centos.1
httpd-manual-2.2.3-63.el5.centos.1
卸载包
rpm -e httpd-manual-2.2.3-63.el5.centos.1
rpm -e system-config-httpd-1.3.3.3-1.el5
这样就卸载完成了
卸载自带Apache
1、# rpm -qa|grep httpd,查看与httpd相关软件包。
" httpd-2.2.3-11.el5_2.centos.4
"
2、然后删除httpd:
"# rpm -e httpd
"
出现问题:
" error: Failed dependencies:
httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
"
3、还有一个相关的软件包没有删除,清除之,即:
"#rpm -e gnome-user-share
"
4、再删除httpd
"# rpm -e httpd
"
#可以使用参数–nodeps的意思就是不管各个程序包间的依赖关系。
"#rpm -e –nodeps httpd //这样不需要删除gnome-user-share了
"
相关文章
- 原神2025最新兑换码有哪些 限时前瞻福利领取 11-16
- 百炼英雄2025兑换码大全 最新礼包福利领取合集 11-16
- 寻道大千2025兑换码 最新可用的礼包码合集 11-16
- 蛋仔派对2025兑换码 最新礼包码合集 11-16
- 元气骑士2025兑换码大全 最新可用礼包码合集 11-16
- 明日方舟终末地测试资格查询入口 官方验证方法一览 11-16