Saturday, March 1, 2008

Controlling Services In Linux

In a Linux box lot of services will be started during the startup, but we may not need all the services automatically getting started. We can turn off the unwanted services and make our system faster.

1. Read the following tutorial and get an idea about Linux services, although it's written for fedora, all these services will be similar in all Linux systems.

http://www.mjmwired.net/resources/mjm-services-f8.html

2. Controlling

In Ubuntu, RedHat, Fedora, CentOS (GUI)

Go to System -> Administration -> Services -> Unselect unwanted services

In Redhat, Fedora, CentOS (CLI)

# chkconfig servicename off

If you want to turn the service on again

# chkconfig servicename on

Or type

# ntsysv

And using the space bar you can select or unselect the services.