最新下载
热门教程
- 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了
"
相关文章
- picacg哔咔网页版入口-嗶咔picacg在线高清观看 03-03
- twitter网页版-twitter官网入口 03-03
- 网易云游戏网页版一键直达-网易云游戏网页版即点即玩 03-03
- 樱花漫画正版入口分享:全彩无删减漫画高清画质不卡顿 03-03
- 歪歪漫画-最新漫画网入口首页 03-03
- jm漫画网页版-最新官方入口是什么 03-03