亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    centos如何卸載apache

    centos如何卸載apache

    centos如何卸載apache?

    在CentOS系統(tǒng)中卸載Apache的方法有很多種,這里有自帶的apaceh與我們安裝的apache,下面我來給各位同學介紹在CentOS卸載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

    出現(xiàn)問題:

    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 #可以使用參數(shù)–nodeps的意思就是不管各個程序包間的依賴關系。 #rpm -e –nodeps httpd //這樣不需要刪除gnome-user-share了

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號