V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
aias
V2EX  ›  问与答

为什么在自己的机子上总是卸载不干净 apache?

  •  
  •   aias · Feb 6, 2016 · 3438 views
    This topic created in 3739 days ago, the information mentioned may be changed or developed.
    尝试过以下的命令,都没用。
    sudo apt-get remove apache*
    sudo apt-get --purge remove apache2
    sudo apt-get autoremove

    去访问 80 端口还是“ It works!”页面,真是神烦。
    自己的虚拟机上也是这样,树莓派上也是这样。
    可是在云机上一下 sudo apt-get remove apache* 就干净了
    7 replies    2016-02-14 21:01:33 +08:00
    Strikeactor
        1
    Strikeactor  
       Feb 6, 2016
    httpd 删删看看
    faceair
        2
    faceair  
       Feb 6, 2016 via iPhone
    检查下 80 端口被哪个进程占用
    zsj950618
        3
    zsj950618  
       Feb 6, 2016 via Android
    it works !确定不是 nginx 的吗。。。。。
    jasontse
        4
    jasontse  
       Feb 6, 2016 via iPad
    你需要手动杀死内存中的 apache 进程
    orFish
        5
    orFish  
       Feb 6, 2016
    @zsj950618 it works 是 apache 的!
    shiji
        6
    shiji  
       Feb 13, 2016
    你还得确认一下运行的那个 Apache 是哪个 Apache , 举一个我发现的例子,比如说 Gitlab , 是基于 Chef (功能类似于 Docker )的, 里面打包了 Nginx , postgreSQL 。你把操作系统里面的 Nginx 删了根本没什么作用,因为运行的 Nginx 是 Chef 里面打包的那个 Nginx
    aias
        7
    aias  
    OP
       Feb 14, 2016
    @zsj950618
    @orFish
    我想说两个都有 it works
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2479 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    ♥ Do have faith in what you're doing.