In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, I will talk to you about how to uninstall apache in centos. Many people may not know much about it. In order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
There are many ways to uninstall Apache in the CentOS system. Here are the built-in apaceh and our installed apache. Let me introduce you to uninstall Apache in CentOS and the solutions to the problems encountered.
Centos uninstalls apache:
First shut down the httpd service
/ etc/init.d/httpd stop
List httpd related packages
Rpm-qa | grep httpd
The packages are listed as follows
Httpd-2.2.3-63.el5.centos.1httpd-manual-2.2.3-63.el5.centos.1
Uninstall the package
Rpm-e httpd-manual-2.2.3-63.el5.centos.1rpm-e system-config-httpd-1.3.3.3-1.el5
So the uninstall is complete.
Uninstall built-in Apache
1. # rpm-qa | grep httpd, check the software packages related to httpd.
Httpd-2.2.3-11.el5_2.centos.4
2. Then delete httpd:
# rpm-e httpd
There is a problem:
Error: Failed dependencies:httpd > = 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386
3. There is a related software package that has not been deleted and cleared, that is:
# rpm-e gnome-user-share
4. Delete httpd again
# rpm-e httpd# can use the parameter-nodeps, which means regardless of the dependencies between packages. # rpm-e-nodeps httpd / / so there is no need to delete gnome-user-share. After reading the above, do you have any further understanding of how to uninstall apache in centos? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.