Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

17.7. 新​​​​​​​增​​​​​​​新​​​​​​​的​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​

虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​(virt—​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​)為​​​​​​​桌​​​​​​​面​​​​​​​應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​,用​​​​​​​來​​​​​​​管​​​​​​​理​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​。​​​​​​​
You can use Red Hat's Virtual Machine Manager to:
  • 建​​​​​​​立​​​​​​​新​​​​​​​網​​​​​​​域​​​​​​​。​​​​​​​
  • Configure or adjust a domain's resource allocation and virtual hardware.
  • 總​​​​​​​結​​​​​​​執​​​​​​​行​​​​​​​即​​​​​​​時​​​​​​​工​​​​​​​作​​​​​​​的​​​​​​​網​​​​​​​域​​​​​​​與​​​​​​​資​​​​​​​源​​​​​​​利​​​​​​​用​​​​​​​之​​​​​​​數​​​​​​​據​​​​​​​。​​​​​​​
  • 持​​​​​​​續​​​​​​​顯​​​​​​​示​​​​​​​表​​​​​​​示​​​​​​​性​​​​​​​能​​​​​​​與​​​​​​​資​​​​​​​源​​​​​​​利​​​​​​​用​​​​​​​的​​​​​​​圖​​​​​​​形​​​​​​​。​​​​​​​
  • 使​​​​​​​用​​​​​​​內​​​​​​​嵌​​​​​​​ VNC 客​​​​​​​戶​​​​​​​端​​​​​​​瀏​​​​​​​覽​​​​​​​器​​​​​​​,因​​​​​​​此​​​​​​​可​​​​​​​以​​​​​​​將​​​​​​​全​​​​​​​圖​​​​​​​形​​​​​​​主​​​​​​​控​​​​​​​台​​​​​​​展​​​​​​​現​​​​​​​於​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​網​​​​​​​域​​​​​​​。​​​​​​​

注意

You must install Red Hat Enterprise Linux 5.1, virt-manager, and the kernel packages on all systems that require virtualization. All systems then must be booted and running the Red Hat Virtualization kernel.
下​​​​​​​列​​​​​​​為​​​​​​​使​​​​​​​用​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​監​​​​​​​測​​​​​​​安​​​​​​​裝​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​在​​​​​​​ Red Hat Enterprise Linux 5 所​​​​​​​需​​​​​​​的​​​​​​​步​​​​​​​驟​​​​​​​:

過程 17.1. 建​​​​​​​立​​​​​​​客​​​​​​​座​​​​​​​端​​​​​​​作​​​​​​​業​​​​​​​系​​​​​​​統​​​​​​​

  1. 在​​​​​​​ 應​​​​​​​用​​​​​​​程​​​​​​​式​​​​​​​選​​​​​​​單​​​​​​​,點​​​​​​​選​​​​​​​ 系​​​​​​​統​​​​​​​工​​​​​​​具​​​​​​​ 然​​​​​​​後​​​​​​​點​​​​​​​選​​​​​​​ 虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​。​​​​​​​
    顯​​​​​​​示​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​主​​​​​​​視​​​​​​​窗​​​​​​​。​​​​​​​
    Virtual Machine Manager window

    圖形 17.6. Virtual Machine Manager window

  2. 在​​​​​​​ 檔​​​​​​​案​​​​​​​ 選​​​​​​​單​​​​​​​,點​​​​​​​選​​​​​​​ 新​​​​​​​主​​​​​​​機​​​​​​​。​​​​​​​
    選​​​​​​​擇​​​​​​​新​​​​​​​主​​​​​​​機​​​​​​​

    圖形 17.7. 選​​​​​​​擇​​​​​​​新​​​​​​​主​​​​​​​機​​​​​​​

    顯​​​​​​​示​​​​​​​建​​​​​​​立​​​​​​​新​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​導​​​​​​​引​​​​​​​。​​​​​​​
  3. Click Forward.
    建​​​​​​​立​​​​​​​新​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​導​​​​​​​引​​​​​​​

    圖形 17.8. 建​​​​​​​立​​​​​​​新​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​導​​​​​​​引​​​​​​​

  4. Enter the name of the new virtual system and then click Forward.
    替​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​取​​​​​​​名​​​​​​​

    圖形 17.9. 替​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​取​​​​​​​名​​​​​​​

  5. 輸​​​​​​​入​​​​​​​安​​​​​​​裝​​​​​​​媒​​​​​​​體​​​​​​​的​​​​​​​位​​​​​​​置​​​​​​​。​​​​​​​Kickstart 檔​​​​​​​案​​​​​​​的​​​​​​​位​​​​​​​置​​​​​​​為​​​​​​​非​​​​​​​必​​​​​​​選​​​​​​​。​​​​​​​然​​​​​​​後​​​​​​​點​​​​​​​ 下​​​​​​​一​​​​​​​步​​​​​​​。​​​​​​​
    定​​​​​​​位​​​​​​​安​​​​​​​裝​​​​​​​媒​​​​​​​體​​​​​​​

    圖形 17.10. 定​​​​​​​位​​​​​​​安​​​​​​​裝​​​​​​​媒​​​​​​​體​​​​​​​

  6. 將​​​​​​​檔​​​​​​​案​​​​​​​安​​​​​​​裝​​​​​​​至​​​​​​​實​​​​​​​體​​​​​​​硬​​​​​​​碟​​​​​​​分​​​​​​​割​​​​​​​區​​​​​​​,或​​​​​​​安​​​​​​​裝​​​​​​​至​​​​​​​虛​​​​​​​擬​​​​​​​檔​​​​​​​案​​​​​​​系​​​​​​​統​​​​​​​。​​​​​​​

    注意

    下​​​​​​​列​​​​​​​為​​​​​​​將​​​​​​​檔​​​​​​​案​​​​​​​安​​​​​​​裝​​​​​​​至​​​​​​​虛​​​​​​​擬​​​​​​​系​​​​​​​統​​​​​​​之​​​​​​​範​​​​​​​例​​​​​​​。​​​​​​​
    SELinux policy only allows xen disk images to reside in /var/lib/xen/images.
    Open a terminal and create the /xen directory and set the SELinux policy with the command restorecon -v /xen. Specify your location and the size of the virtual disk, then click Forward.
    指​​​​​​​定​​​​​​​儲​​​​​​​存​​​​​​​空​​​​​​​間​​​​​​​

    圖形 17.11. 指​​​​​​​定​​​​​​​儲​​​​​​​存​​​​​​​空​​​​​​​間​​​​​​​

  7. Select memory to allocate the guest and the number of virtual CPUs then click Forward.
    設​​​​​​​定​​​​​​​記​​​​​​​憶​​​​​​​體​​​​​​​與​​​​​​​ CPU

    圖形 17.12. 設​​​​​​​定​​​​​​​記​​​​​​​憶​​​​​​​體​​​​​​​與​​​​​​​ CPU

  8. Select Forward to open a console and the files start to install.
    設​​​​​​​定​​​​​​​記​​​​​​​憶​​​​​​​體​​​​​​​與​​​​​​​ CPU

    圖形 17.13. 設​​​​​​​定​​​​​​​記​​​​​​​憶​​​​​​​體​​​​​​​與​​​​​​​ CPU

  9. 在​​​​​​​提​​​​​​​供​​​​​​​的​​​​​​​視​​​​​​​窗​​​​​​​內​​​​​​​完​​​​​​​成​​​​​​​安​​​​​​​裝​​​​​​​過​​​​​​​程​​​​​​​。​​​​​​​
    安​​​​​​​裝​​​​​​​過​​​​​​​程​​​​​​​開​​​​​​​始​​​​​​​…​​​​​​​

    圖形 17.14. 安​​​​​​​裝​​​​​​​過​​​​​​​程​​​​​​​開​​​​​​​始​​​​​​​…​​​​​​​

    警告

    When installing Red Hat Enterprise Linux 5.1 on a fully virtualized guest, do not use the kernel-xen kernel. Using this kernel on fully virtualized guests can cause your system to hang.
    If you are using an Installation Number when installing Red Hat Enterprise Linux 5.1 on a fully virtualized guest, be sure to deselect the Virtualization package group during the installation. The Virtualization package group option installs the kernel-xen kernel.
    Note that paravirtualized guests are not affected by this issue. Paravirtualized guests always use the kernel-xen kernel.
  10. Type xm create -c xen-guest to start the Red Hat Enterprise Linux 5.1 guest. Right click on the guest in the Virtual Machine Manager and choose Open to open a virtual console.
    Red Hat Enterprise Linux 5.1 (guest)

    圖形 17.15. Red Hat Enterprise Linux 5.1 (guest)

  11. 輸​​​​​​​入​​​​​​​使​​​​​​​用​​​​​​​者​​​​​​​名​​​​​​​稱​​​​​​​與​​​​​​​密​​​​​​​碼​​​​​​​來​​​​​​​繼​​​​​​​續​​​​​​​使​​​​​​​用​​​​​​​虛​​​​​​​擬​​​​​​​主​​​​​​​機​​​​​​​管​​​​​​​理​​​​​​​員​​​​​​​。​​​​​​​