[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "debian rookie" trying to get his bearings...



"Jeff Hahn" <jeffh@gryphongardens.com> writes:
> I'm setting up a "test" debian server (contemplating a move of several
> redhat boxes)

> One quick question to get me going a little better...  How do you install
> services (apache, samba, whatever) and NOT have them start on system
> startup?

Probably the easiest way is to 'rm /etc/rc2.d/S20apache', etc. as root.
There's also an update-rc.d utility which is sort of akin to
chkconfig, but it's mostly used by install scripts.  A warning: don't
delete *all* of the /etc/rc?.d/*foo links, because then on upgrade
update-rc.d will decide that the package has never been installed and
reinstall the links and start the server under you.

> If I see that blankety-blank GDM login on bootup again, I'll .............

Of course, if you have a service that you never intend to use at all,
you can very easily remove it.  (dpkg --remove gdm)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: