Chapter 8. Installing and configuring RHEL 5.2 127
8.2.4 Adding additional RPMs
We recommend that you install the same packages as you did on the controller; refer to 7.2.5,
“Adding additional RPMs” on page 111. Use the yum -y install command to install the
openmotif and xinetd packages from the remote RPM repository:
# yum -y install openmotif xinetd
8.2.5 Turning off unneeded services
As with the golden image, follow the steps in 7.2.6, “Turning off unneeded services” on
page 112. Following is a summary:
# 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
8.2.6 Configuring the VNC server
The VNC server is configured the same way as on the controller. Follow the same steps as
described in 7.2.7, “Configuring the VNC server” on page 113.
8.2.7 Setting system to halt on SIGNAL SHUTDOWN
Again, RHEL 5.2 reboots when a Ctrl-Alt-Del key sequence is trapped. This key sequence is
simulated by z/VM when a SIGNAL SHUTDOWN command is issued. Rather than rebooting, you
want your system to halt (shut down). Change this setting by changing shutdown -r to
shutdown -h in the /etc/inittab file:
# cd /etc
# vi inittab // change shutdown -r to shutdown -h
...
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -h now
...
This change will be picked up when the system is rebooted.
8.2.8 Configuring SSH keys
Recall that you generated SSH keys on the controller in 7.2.10, “Configuring SSH keys” on
page 116. Now it is time to copy these keys from the controller to the golden image. Create a
new directory on the golden image where the public key will be copied:
# mkdir /root/.ssh
# chmod 700 /root/.ssh
Komentarze do niniejszej Instrukcji