I was wondering how can I disable the apache2 server from running upon boot up? I can't seem to find an option which disables it to auto start when I turn on the machine.
Under the folder
Depending on which runlevel the computer starts in, different services are started.
So from the
To keep things simple there is a tool for removing/adding these links, hence removing or adding scripts to and from start up.
To remove apache2 simply type:
and all runlevel folders that are linked to apache2 will be removed.
you could simply disable it by:
and then if you would like to enable it again:
depending on the project i am working on, it is handy to have the service conveniently available, if i wish to re-enable it.
here is an example:
You will still be able to start and stop the service but it won't start up at boot.