8/21/2010

Configure Services

[1] Stop unnecessary services for your system which are enabled on the default settings. First, Output the list of services with following commands.

[root@ns ~]# chkconfig --list | less


[2] Stop unnecessary services. Following example, a service 'yum-updatesd' is stopped and Disable autostart function.


[root@ns ~]# /etc/rc.d/init.d/yum-updatesd stop
Stopping yum-updatesd [ OK ]
[root@ns ~]# chkconfig yum-updatesd off

[3] Or if a service is not needed for your system, Uninstall it. If you don't know the service which how to work, output documents of it. Following example, documents of 'yum-updatesd' is outputed and uninstalled.


[root@ns ~]# man yum-updatesd
[root@ns ~]# rpm -e yum-updatesd

No comments:

Post a Comment