How to keep apache and mysql from starting automatically on Ubuntu 14
For all system services in /etc/init.d, disabling them can be done with the update-rc.d command, e.g.: To restore it to running on startup: You can also manually start and stop via service apache2 start and service apache2 stop