kubuntu stop apache from starting automatically

Questions related to the Apache server
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

kubuntu stop apache from starting automatically

Post by mister_v »

Hi,

How do I stop apache from starting automatically at boot.
On my developing PC, I have apache installed.
But i don't want it to run always,
I don't want to remove it either.

I know you can stop it with

Code: Select all

/etc/init.d/apache2 stop
But I don't want to do it every time, I boot.
I will start Apache manually when I need it.

Anyone know the command on Kubuntu?
Like /sbin/chkconfig on CentOS
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: kubuntu stop apache from starting automatically

Post by chris »

You can use update-rc.d

Code: Select all

update-rc.d apache2 disable
The remove will completely remove the startup files,
you don't want that.

Code: Select all

update-rc.d -f apache2 remove
Hope this is what you are looking for.
Post Reply