Is there a way to make apache and mysql not run automatically on startup?
Currently, whenever I boot my machine, they start automatically and run in the background.
I am using Ubuntu 12.04.
Apache is still using rc.d init script, which is why you must disable it using
MySQL on the other hand has converted to an upstart configuration file. The recommended way of disabling upstart services is to use an override file.
Run the following in a terminal:
For all system services in
To restore it to running on startup:
You can also manually start and stop via