网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 服务器与数据库 > 服务器环境搭建
User Name
Password
 
FAQ Members List Calendar Cheap Glasses Mark Forums Read

服务器环境搭建 Windows,Linux,IIS,Apache等服务器配置、安全维护以及PHP和MYSQL运行环境讨论。

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   IP: 114.238.82.185
Old 2016-05-27, 07:07 PM
Anaktuvuk Pass Anaktuvuk Pass is offline
初级会员
 
Join Date: 2007-07-06
Posts: 1
Anaktuvuk Pass 现在声名狼藉
Default CentOS卸载Apache方法详解

在CentOS系统中卸载Apache的方法有很多种,这里有自带的apaceh与我们安装的apache,下面我来给各位同学介绍在CentOS卸载Apache及碰到的问题解决方案。

首先关闭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了
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 04:30 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.