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 14.04 Trusty Tahr

    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.
    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup: Redobackup

  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
    Storybrooke
    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
    Ubuntu Forums Moderation Staff
    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 14.04 Trusty Tahr

    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
    Easy to understand Ubuntu manual with lots of pics: http://ubuntu-manual.org/
    Do i need antivirus/firewall in linux?
    User friendly disk backup: Redobackup

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
  •