Disable Apache Automatic Startup on Linux
Solution 1:
# chkconfig <servicename> off
Then to verify:
chkconfig --list | grep <servicename>
So probably chkconfig httpd off
, you want to go read about runlevels in man init
. The verification should return httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
. If you want to stop it without restarting run /etc/init.d/httpd stop
. All of these will need to be done with root privileges.
Solution 2:
Right, you can also do it using setup configuration tool:
sudo setup