Chapter 7. Installing RHEL 5.2 on the controller 109
7.2 Configuring the controller
Now that your controller is installed, it must be configured. The following steps are involved:
Copying files to the controller
Retiring the PC NFS server
Configuring VDISK swap
Configuring yum
Adding additional RPMs
Turning off unneeded services
Configuring the VNC server
Setting the system to halt on SIGNAL SHUTDOWN
Turning on the NFS server
Configuring SSH keys
Inserting the vmcp module
Rebooting the system
Verifying the changes
7.2.1 Copying files to the controller
It is now time to copy the RHEL 5.2 install tree to the controller, along with other files
associated with this book. First mount the directory /nfs/rhel5.2/ on the PC NFS server
over the directory /mnt/. In this example, the PC NFS server is at IP address 9.12.4.185:
# mount <9.12.4.185>:/nfs/rhel5.2 /mnt
# ls /mnt
EULA README-or.html RELEASE-NOTES-ja.html
...
Now create a local directory of the same name and recursively copy the tree using the cp -a
command:
# mkdir /nfs/rhel5.2
# cd /mnt
# cp -a * /nfs/rhel5.2
This command will take some time, perhaps 5 to 10 minutes, depending on network speed.
Unmount the RHEL 5.2 install tree and repeat the process to copy the files associated with
this book:
# cd /
# umount /mnt
# mount <9.12.4.185>:/nfs/virt-cookbook-RH5.2 /mnt
# mkdir /nfs/virt-cookbook-RH5.2
# cd /mnt
# cp -a * /nfs/virt-cookbook-RH5.2
When the files are copied, unmount the /mnt/ directory. Then view the files that you copied:
# umount /mnt/
# cd /nfs/virt-cookbook-RH5.2
# ls
clone-1.0-5.s390x.rpm README.txt vm/
The RPM clone-1.0-5.s390x.rpm contains files for use later in Chapter 9, “Configuring
RHEL 5.2 for cloning” on page 129.
Comentarios a estos manuales