Results 1 to 4 of 4

Thread: Apache2 and MySQL at boot

  1. #1
    Join Date
    Jul 2005
    Beans
    36

    Apache2 and MySQL at boot

    Can anyone please tell me how to disable Apache2 from starting up automatically when I reboot? I'd prefer to manually start it when needed.

    Have not yet been able to find newbie-centric instructions on how to to this.

    Thanks in advance!

  2. #2
    Join Date
    Jul 2005
    Beans
    36

    Re: Apache2 and MySQL at boot

    And sorry in advance for asking a question in this forum. Just spotted the sticky above. Crap.

  3. #3
    Join Date
    Apr 2005
    Location
    Johannesburg
    Beans
    12

    Re: Apache2 and MySQL at boot

    hey.

    i'm no expert, but try

    Code:
    sudo vi /etc/default/apache2
    change

    Code:
    NO_START=0
    to

    Code:
    NO_START=1

  4. #4
    Join Date
    Apr 2005
    Location
    Wales, UK
    Beans
    113

    Re: Apache2 and MySQL at boot

    Try this:

    Code:
    sudo update-rc.d -f apache2 remove
    Code:
    sudo update-rc.d -f mysql remove
    Hope it works!!

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
  •