Chapter 7. Installing RHEL 6 on the cloner 127
You system should continue to boot until a login prompt is presented. Start an SSH session to
the master image as root. At this point, you can disconnect from the 3270 session by running
the following command:
==> #cp disc
7.2 Configuring the cloner
Now that your cloner is installed, it must be configured. You must perform the following steps:
“Copying files to the cloner” on page 127
“Retiring the NFS server” on page 128
“Configuring the yum command” on page 128
“Turning off unneeded services” on page 129
“Configuring the VNC server” on page 130
“Setting a system to halt on SIGNAL SHUTDOWN” on page 131
“Turning on the NFS server” on page 132
“Configuring SSH keys” on page 133
“Inserting the vmcp module” on page 133
“Changing the order of the swap disks” on page 134
“Setting the system to log off when Linux is shut down” on page 134
“Rebooting the system” on page 135
“Changing the order of the swap disks” on page 134
7.2.1 Copying files to the cloner
Copy the RHEL 6 installation tree to the cloner, along with the other files associated with this
book, by performing the following steps:
1. Mount the /nfs/rhel6/ directory on the NFS server over the /mnt/ directory. In this
example, the NFS server is at IP address 9.60.18.240:
# mount 9.60.18.240:/nfs/rhel6/dvd1 /mnt
# ls /mnt
boot.cat RELEASE-NOTES-es-ES.html RELEASE-NOTES-pt-BR.html
EULA RELEASE-NOTES-fr-FR.html RELEASE-NOTES-ru-RU.html
...
2. Create a local directory of the same name and recursively copy the tree with the cp -a
command:
# mkdir -p /nfs/rhel6
# cd /mnt
# rsync -av * /nfs/rhel6
sending incremental file list
EULA
GPL
...
sent 2758827676 bytes received 56977 bytes 9180980.54 bytes/sec
total size is 2758270745 speedup is 1.00
This command will take some time, perhaps 5 to 10 minutes, depending on network
speeds.
Kommentare zu diesen Handbüchern