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:
Doing this will cause all runlevel folders that are linked to apache2 to 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.
protected by Byte Commander Mar 3 at 12:27
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?