PDA

View Full Version : [ubuntu] Don't want mysql and apache to load on startup



ltwinner
July 13th, 2009, 05:13 PM
Web development takes up about 50% of the the time I spend on my laptop. So for the other 50% I don't need apache and mysql. However I've noticed that both these programs automatically load on startup. Is there a way to disable them from loading on startup?

Celauran
July 13th, 2009, 05:43 PM
I just leave them running as they consume next to zero resources when not in active use. Still, if you'd like them disabled, you go uncheck them from System -> Administration -> Services and turn them on only when needed.

carrarin
July 13th, 2009, 05:50 PM
chkconfig

chkconfig -del mysql
" " apache

?

Neo4
October 8th, 2009, 05:10 PM
I just leave them running as they consume next to zero resources when not in active use. Still, if you'd like them disabled, you go uncheck them from System -> Administration -> Services and turn them on only when needed.
how can I do that on ubuntu 9.10?

I don't have any services under admin

kanikilu
October 8th, 2009, 05:28 PM
sudo update-rc.d -f apache2 remove
sudo update-rc.d -f mysql remove