zoukankan      html  css  js  c++  java
  • Linux卸载系统自带的httpd的方法

    卸载linux自带的httpd服务:


    方法一:

    #rpm -e httpd

    结果,出现以下错误

    httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
    httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-3
    httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21
    httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17
    libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
    libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5
    webserver is needed by (installed) webalizer-2.01_10-11
    httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_07-5
    httpd >= 2.0.40 is needed by (installed) mod_python-3.0.1-3
    httpd is needed by (installed) mod_ssl-2.0.40-21

    要卸载这些东西还应该卸载它的依赖包,于是

    #rpm -e mod_ssl
    #rpm -e mod_python
    #rpm -e mod_perl
    #rpm -e webalizer

    把所有的依赖包都卸载后

    再次 #rpm -e httpd 成功!


    方法二:

    #rpm -e httpd --nodeps可以不用卸载这些依赖包

  • 相关阅读:
    NOIP模拟 回文序列
    NOIP模拟 最佳序列
    BZOJ 2783 树
    BZOJ 3631 松鼠的新家
    洛谷 6道简单图论
    NOI模拟 颜色
    NOIP模拟 Game
    BZOJ1415 聪聪与可可
    Codeforces Round #443 (Div. 2) C: Short Program
    20171028洛谷NOIP模拟
  • 原文地址:https://www.cnblogs.com/tdcqma/p/5038023.html
Copyright © 2011-2022 走看看