----- Original Message ---- > From: David Lemcoe <forum at lemcoe.com> > To: CentOS mailing list <centos at centos.org> > Sent: Thursday, April 9, 2009 10:39:40 AM > Subject: Re: [CentOS] Processes to disable > > Thanks for the tool. I have two servers, a just Apache/FTP and a > MySQL. I was told that I can basically have NOTHING except for the > daemon running, but that seems a little extreme :) > > Thanks again, > > David > > On 4/9/09, Hakan Koseoglu wrote: > > Hi David, > > > > On Thu, Apr 9, 2009 at 3:21 PM, David Lemcoe wrote: > >> I was told by some more-experienced Cent users that there are a bunch > >> of processes I should kill and get out of the startup folder. He said > >> that Cent (even with a small install) has a bunch of processes that > >> really aren't needed and just burn up processes. Which ones should I > >> get rid of for just a webserver? MySQL server? > > > > Depends on what you've installed and what you need. > > > > Serviceconf is a nice way of graphically checking what background and > > on-demand services are configured for your system and what they are. > > > > If you don't need MySQL or Web servers, you should have not installed > > them from start. :-) > > > > -- > > Hakan (m1fcj) - http://www.hititgunesi.org > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos See http://www.scribd.com/doc/3000159/RHELCentOSMinimalServicesSetup >From the author's short list... anacron and crond - "schedulers", used among other things for cleaning up logs iptables - firewall kudzu - hardware detection and configuration network is what it says (if disabled you will not have network access) sendmail is what it says sshd - secure shell deamon syslog - logs various system messages To list, enable, and disable services use chkconfig (from a terminal) (you need to have root access) http://www.linuxcommand.org/man_pages/chkconfig8.html to see all services for all levels type: chkconfig --list Level 3 is for terminal mode, Level 5 is for GUI mode to disable/enable a service: chkconfig --level <levels> service-name off/on i.e. chkconfig --level 3 sshd off Disables sshd for levels 3 chkconfig --level 35 sshd on Enables sshd for level 3 and 5 To see the names of all the services installed on your system: ls /etc/rc.d/init.d