PDA

View Full Version : Apache2 and MySQL at boot


dbeckham32
August 27th, 2005, 10:53 PM
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!

dbeckham32
August 27th, 2005, 10:54 PM
And sorry in advance for asking a question in this forum. Just spotted the sticky above. Crap.

munitras
August 28th, 2005, 04:31 AM
hey.

i'm no expert, but try

sudo vi /etc/default/apache2

change

NO_START=0

to

NO_START=1

Spudgun
August 28th, 2005, 02:43 PM
Try this:

sudo update-rc.d -f apache2 remove
sudo update-rc.d -f mysql remove

Hope it works!!