Portal Home > Knowledgebase > Articles Database > Which Unneeded Services to disable in Centos?


Which Unneeded Services to disable in Centos?




Posted by 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?

Posted by crucialx, 11-15-2004, 01:50 AM
What are you using the server for?

Posted by 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

Posted by rasputinj, 11-15-2004, 02:25 AM
I am using it for a webserver. I was just wondering what other services are not needed.

Posted by 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 certain service. Just do it once and you would be set for future.

Posted by 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....

Posted by 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.

Posted by apollo, 11-15-2004, 09:49 AM
yeah, but removing not needed rpm's are also a good idea

Posted by goolex, 11-15-2004, 09:55 AM
okey if i remove them , will i see any change ? cpu load ? or more free memory ?

Posted by apollo, 11-15-2004, 09:59 AM
more hdd space -quicker OS updates -less bandwidth consumption (update downloads, if any)

Posted by goolex, 11-15-2004, 10:16 AM
okey ! so how can i remove them !?

Posted by 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

Posted by 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

Posted by 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.

Posted by rasputinj, 11-15-2004, 01:37 PM
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

Posted by Steven, 11-15-2004, 11:22 PM
Normally when you remove an rpm it will kill the process.

Posted by bueno, 11-16-2004, 05:49 PM
you can disable FreeWnn & Canna if you are not japanese they are Japanese input systems

Posted by walidaly, 03-14-2012, 12:27 PM
Check this Disabling unneeded services on CentOS



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reseller Hosting? (Views: 800)
Dathorn problems (Views: 828)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.