D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Programs which start on login

 

On Sat, 12 May 2007 17:22:56 +0100
Simon Waters <simon@xxxxxxxxxxxxxx> wrote:

> Neil Winchurst wrote:
> >
> > The programs I particularly do not want running at every login are
> > apache and mysql. Can anyone remind me please, how to stop a program
> > from starting up at login?
> 
> Usually Apache and MySQL start at boot, not at login.
> 
> Typically you remove the links from the current run level directory...
> 
> Find runlevel with "runlevel" command.
> 
> # runlevel
> N 3
> 
> ~# ls /etc/rc3.d
> K11anacron            S20bittorrent         S20ssh           S89anacron
> README                S20cupsys             S20stunnel4      S89atd
> S10sysklogd           S20dbus               S20sysstat       S89cron
> ...
Perhaps it would be better for me to simply stop the programs in a
terminal screen. I know how shutdown mysql. Apache is the problem.
Until yesterday I didn't even know it was running all the time.

How do I stop apache please, that is the equivalent of mysqladmin
shutdown?

Thanks

Neil Winchurst

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html