I install apache2 from reps. But I need not to use it every day, only if I works on some application. How can I stop auto running of it and run it manually if I need?
My OS is Ubuntu 11.04
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityInstall sysv-rc-conf
, run it as root, and uncheck the boxes next to the apache2
service.
sysv-rc-conf
is a lot nicer. And you need to get a better font; my name is 'womble'.
You can use update-rc.d
utility such as:
sudo update-rc.d -f apache2 remove
To start it manually, you can use:
sudo /etc/init.d/apache2 start