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
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
Install sysv-rc-conf
, run it as root, and uncheck the boxes next to the apache2
service.
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