Sometimes you need to disable some service that run ot Linux. Here comes the handy utility called rcconf. It configures system services whatever to start or not during boot time. It turns on/off services using the scripts in /etc/init.d/. It is a frontend to the update-rc.d command.

First make sure it is installed by running the following command:

sudo apt-get install rcconf

Now type the following command on you terminal window:

sudo rcconf

And you will see list of services that are installed on your Debian machine. Those marked with star are auto run during boot process. To disable Apache or any other service such as MySql just navigate to it using arrows and press space bar. Then navigate to OK button using Tab key and again press Space to save configuration.

Disable Apache