For RHEL based linux, a handy utility is
which can be used to set services to start on boot etc. For example, stopping apache from starting at boot:
Debian / Ubuntu doesn't have this. Instead you can install and use sysv-rc-conf.
Install and use sysv-rc-conf.
To use, simply call:
which will give you something like below (where you can select services etc. for boot):