Professional Documents
Culture Documents
much more important. The limiting factor on the boxes I am running is RAM. The
less RAM I could get a server to use, the more servers I could run. I put in a
call to an old buddy of mine, Anton Thaker. Anton is a RedHat Certified Engineer
(RHCE) and knows Linux better than anyone else I know. Anton wrote a mini-howto on
freeing up resources by disabling unneeded services. Here it is:
The proper RedHat way to disable a service from being started at bootup
is to use the �chkconfig� utility.
After installation the machine reboots. When you login disable as many
service as possible with the following commands:
I left �anacron� and �kudzu� enabled, because it�s something that will
run at startup and will not stay loaded when finished. Sendmail is
there for email notifications, and can probably be taken out.
Everything else in the list is pretty much the minimum.
If you are not sure what something does, you can look in the particular
service�s startup script to see the comments at the beginning. The
scripts are in the /etc/init.d directory.
Since this is a new install, make sure to run �yum update� and then
reboot the machine to apply the kernel update and stop the services that
we just disabled. If you don�t want to reboot, you can run �/etc/rc� to
stop the services not enabled in the current run level. It�s a good
idea to reboot to make sure that the system comes up properly.
Anton Thaker.
RHCE