
Chapter 7. Installing RHEL 5.2 on the controller 113
Turn off the following services using the chkconfig command:
# chkconfig cups off
# chkconfig iptables off
# chkconfig ip6tables off
# chkconfig auditd off
# chkconfig haldaemon off
# chkconfig atd off
# chkconfig kudzu off
# chkconfig mdmonitor off
# chkconfig rpcgssd off
# chkconfig rpcidmapd off
# chkconfig anacron off
# chkconfig mcstrans off
# chkconfig yum-updatesd off
You may choose to leave these services on, or turn others off. You can review which services
are now configured to start in run level 3 with the following command:
# chkconfig --list | grep 3:on
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
readahead_early 0:off 1:off 2:on 3:on 4:on 5:on 6:off
restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rhnsd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
7.2.7 Configuring the VNC server
Often, applications require a graphical environment. The Virtual Network Computing (VNC)
server allows for a graphical environment to be set up easily by starting the vncserver
service. RHEL 5.2 configures the VNC server using the /etc/sysconfig/vncservers
configuration file. Add a line at the bottom of this file to specify the VNC user:
# vi /etc/sysconfig/vncservers
...
VNCSERVERS="1:root"
Note: Only disable the iptables service if you are on a trusted network. Otherwise, you
will need to configure iptables to allow network traffic for the VNC server and NFS, as well
as any other services that require network access.
For more information about configuring iptables for NFS traffic, refer to the article located
at:
http://www.redhat.com/magazine/010aug05/departments/tips_tricks/
Comentarios a estos manuales