最新下载
热门教程
- 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了
"
相关文章
- 明末渊虚之羽想回原起点要怎么做 原起点传送方法介绍 07-30
- 绝区零插头布强度如何 绝区零插头布强度介绍 07-30
- 柴犬币的今日价格(今天柴犬币的最新价格) 07-30
- 人渣SCUM武器怎么制作 武器制作方法分享 07-30
- 燕云十六声河伯无伤怎么通关 鬼神愁无伤逃课打法攻略 07-30
- 明末渊虚之羽覆羽剑怎么样 覆羽剑武器技能介绍 07-30