Results 1 to 4 of 4

Thread: how do i remove apache server from startup

  1. #1
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    how do i remove apache server from startup

    how do i remove apache server form startupo (i.e. i don't want it to automaticly start on boot).

    i tried this
    Code:
    sudo update-rc.d apache remove
    and this
    Code:
    sudo update-rc.d apache2 remove
    it doesn't seem to work as i keep getting "it works" page on localhost and also the joomla page (well if i start only mysql service).

    i installed LAMP via tasksel.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

  2. #2
    Join Date
    Dec 2007
    Beans
    79
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how do i remove apache server from startup

    Try
    Code:
    sudo update-rc.d -f apache2 remove

  3. #3
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: how do i remove apache server from startup

    I like using chkconfig, but thats only because its easy to remember

    Code:
    sudo apt-get install chkconfig
    sudo chkconfig apache2 off
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  4. #4
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: how do i remove apache server from startup

    adding -f parameter worked, thanks. i saw some message about it but i didn't knwo where the parameter gues

    i am sure the second method also works, but needs an extra programme to be installed
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
    User friendly full disk backup: Rescuezilla

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •