Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Instalační manuál Strana 148

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 296
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 147
128 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
3. Unmount the RHEL 6 installation tree and repeat the process to copy the files associated
with this book:
# cd /
# umount /mnt
# mount 9.60.18.240:/nfs/virt-cookbook-RH6 /mnt
# mkdir /nfs/virt-cookbook-RH6
# cd /mnt
# rsync -av * /nfs/virt-cookbook-RH6
sending incremental file list
README.txt
clone.sh
vm/
vm/chpw610.xedit
vm/cpformat.exec
vm/profile.exec
vm/sample.conf-rh6
vm/sample.parm-rh6
vm/swapgen.exec
sent 65178 bytes received 168 bytes 130692.00 bytes/sec
total size is 64620 speedup is 0.99
򐂰 Now that the files are copied, unmount the /mnt/ directory. View the files that you copied:
# cd ..
# umount /mnt/
# cd /nfs/virt-cookbook-RH6
# ls -F
README.txt clone-1.0-10.s390x.rpm vm/
The clone-1.0-10.s390x.rpm RPM contains files that you will use in Chapter 9, “Configuring
RHEL 6 for cloning” on page 155.
7.2.2 Retiring the NFS server
You have now copied all the files related to this book to the cloner. You should be in a
position to retire your NFS server, if you desire. The remainder of the book will use files
located on the cloner instead of the files on the NFS server.
7.2.3 Configuring the yum command
You will now configure yum so it can install RPMs from the local installation tree.
Perform the following steps:
1. Create a file named rhel6.repo in the /etc/yum.repos.d directory:
# cd /etc/yum.repos.d
# vi rhel6.repo
[RHEL6]
name=Red Hat Enterprise Linux 6
baseurl=file:///nfs/rhel6/Server
2. Import the RPM key, which is included in the RHEL 6 DVD root directory:
# cd /nfs/rhel6
# rpm --import RPM-GPG-KEY-redhat-release
Zobrazit stránku 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 295 296

Komentáře k této Příručce

Žádné komentáře