rasputinj
11-15-2004, 01:42 AM
I am running Centos and want to disable any unneeded services is looks like I do not need mdmonitor, and mdmpd, cups, rhnsd. Or do I need any of these?
![]() | View Full Version : Which Unneeded Services to disable in Centos? rasputinj 11-15-2004, 01:42 AM I am running Centos and want to disable any unneeded services is looks like I do not need mdmonitor, and mdmpd, cups, rhnsd. Or do I need any of these? crucialx 11-15-2004, 01:50 AM What are you using the server for? Steven 11-15-2004, 02:16 AM cups=printing service mdmpd=monitor raid devices mdmonitor=monitor raid devices rhnsd=used to query redhat for updates rasputinj 11-15-2004, 02:25 AM Originally posted by crucialx What are you using the server for? I am using it for a webserver. I was just wondering what other services are not needed. sprintserve 11-15-2004, 05:01 AM You can usually safely disable the following if they are enabled: Anacron Cups Finger GPM ISDN Kudzu Portmap rhnsd - On a CentOS system, you are likely to be using YUM Telnet There could be more. This is just a sample list of what may be enabled and what you can switch off. Another way is to simply google each service one by one and decide if you need that particular service. Just do it once and you would be set for future. apollo 11-15-2004, 09:14 AM well..I guess there are some more to remove/switch off: ypbind,nfs,snmpd,saslauthd,netfs,gpm,pcmcia,sendmail.... sprintserve 11-15-2004, 09:38 AM Those usually are off by default,. Sendmail not necessarily so if it is just a stock machine and you need to send emails and is using sendmail. PCMCIA definitely. apollo 11-15-2004, 09:49 AM yeah, but removing not needed rpm's are also a good idea ;) goolex 11-15-2004, 09:55 AM okey if i remove them , will i see any change ? cpu load ? or more free memory ? apollo 11-15-2004, 09:59 AM -more hdd space ;) -quicker OS updates -less bandwidth consumption (update downloads, if any) ;) goolex 11-15-2004, 10:16 AM okey ! so how can i remove them !? :) apollo 11-15-2004, 10:19 AM try "man rpm" but usually rpm -e "program name goes here" you can see what rpm's you have installed by "rpm -aq" you can also filter it thru grep. e.g. rpm -aq|grep programname goolex 11-15-2004, 10:26 AM thanks apollo ! just a question , i installed zend+mmcache but i dont use zend , if i disable it , i will have more speed ? http://www.host4persian.com/info.php eth00 11-15-2004, 11:11 AM Zend is not a bad idea to have installed. I do not think it can really hinder the performance of your server and it will help some things run better. Some scripts also require zend optimizer, especially billing scripts. rasputinj 11-15-2004, 01:37 PM Originally posted by apollo try "man rpm" but usually rpm -e "program name goes here" you can see what rpm's you have installed by "rpm -aq" you can also filter it thru grep. e.g. rpm -aq|grep programname Should you stop the service first? Then remove the rpm or does it matter. I also found this article it is a bit dated but gives some good info. http://bastille-linux.org/jay/killing-daemons.html Steven 11-15-2004, 11:22 PM Normally when you remove an rpm it will kill the process. bueno 11-16-2004, 05:49 PM you can disable FreeWnn & Canna if you are not japanese :D they are Japanese input systems walidaly 03-14-2012, 12:27 PM Check this Disabling unneeded services on CentOS (http://gadelkareem.com/2012/02/26/disabling-unneeded-services-on-centos/) |