1. Operating system Installation
Using OEL5.8 X64 installation, the installation process selected graphical interface, development package, development library, the old software development package, etc., the other are not selected.
OEL Download Address Encyclopedia: http://koumm.blog.51cto.com/703525/1283801
# uname-a
Linux oradb 2.6.18-308.el5 #1 SMP Sat Feb 12:40:07 EST x86_64 x86_64 x86_64
2. Configure the Yum source
Description: Installing from the installation source is the easiest.
# CD/ETC/YUM.REPOS.D
# wget Http://public-yum.oracle.com/public-yum-el5.repo
# VI Public-yum-el5.repo
#将对应的enable改为1, as shown in the following figure
Oracle Enterprise Linux (OEL) official Yum Source configuration
http://koumm.blog.51cto.com/703525/1283867
3. Yum Installation Xen
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/virtualization/
# yum Install kernel-xen xen-libs Xen virt-viewer
Loaded Plugins:rhnplugin, the security this system isn't registered with ULN.
ULN support would be disabled. El5_latest | 1.4 KB 00:00 El5_latest/primary | MB 01:20 El5_latest 11750/11750 Ol5_uek_base | 1.2 KB 00:00 Ol5_uek_base/primary | 685 KB 00:03 Ol5_uek_base 28/28 Setting up Install Process resolving dependencies--> Running transaction Check---> Package kernel-xen.x86_64 0:2.6.18-348.16.1.0.1.el5 SetTo is installed---> Package virt-viewer.x86_64 0:0.0.2-3.el5 set to is updated--> the processing Dependency:libvirt.s o.0 (libvirt_0.0.3) (64bit) for Package:virt-viewer--> processing dependency:libvirt.so.0 (libvirt_0.0.5) (64bit) For Package:virt-viewer--> processing dependency:libgtk-vnc-1.0.so.0 () (64bit) for Package:virt-viewer--> Ssing dependency:libvirt.so.0 () (64bit) for package:virt-viewer---> Package xen.x86_64 0:3.0.3-142.el5_9.3 set to IS Updated--> processing dependency:python-virtinst for Package:xen--> processing for pack Age:xen--> Processing dependency:libsdl-1.2.so.0 () (64bit) for package:xen---> Package xen-libs.i386 0:3.0.3-142 . el5_9.3 set to is updated--> processing dependency:libext4fs.so.2 for package:xen-libs--> processing : liblzma.so.0 for Package:xen-libs---> Package xen-libs.x86_64 0:3.0.3-142.el5_9.3 set to is updated--> Ng Dependency:libext4fs.so.2 ()(64bit) for package:xen-libs--> Running transaction Check---> Package sdl.x86_64 0:1.2.10-9.el5 set to be updated ---> Package bridge-utils.x86_64 0:1.1-3.el5 set to is updated---> Package e4fsprogs-libs.i386 0:1.41.12-3.el5 Set To is updated---> Package e4fsprogs-libs.x86_64 0:1.41.12-3.el5 set to be updated---> Package gtk-vnc.x86_64. 3.8-3.el5 set to is updated---> Package libvirt.x86_64 0:0.8.2-29.0.1.el5_9.1 set to is updated--> the processing Depe NDENCY:CYRUS-SASL-MD5 for Package:libvirt--> processing dependency:ebtables for package:libvirt---> Package py Thon-virtinst.noarch 0:0.400.3-13.0.1.el5 set to is updated--> processing Dependency:libvirt-python >= for P Ackage:python-virtinst---> Package xz-libs.i386 0:4.999.9-0.3.beta.20091007git.el5 set to is updated--> t Ransaction Check---> Package cyrus-sasl-md5.x86_64 0:2.1.22-7.el5_8.1 set to is updated--> the processing Dependency: Cyrus-sasl-lib = 2.1.22-7.el5_8.1 for PACKAGE:CYRUS-SASL-MD5---> Package ebtables.x86_64 0:2.0.9-5.el5 set to be updated---> Package libv Irt-python.x86_64 0:0.8.2-29.0.1.el5_9.1 set to is updated--> Running transaction Check--> processing Dependency: Cyrus-sasl-lib = 2.1.22-5.el5_4.3 for PACKAGE:CYRUS-SASL--> processing dependency:cyrus-sasl-lib = 2.1.22-5.el5_4.3 For package:cyrus-sasl-devel--> processing dependency:cyrus-sasl-lib = 2.1.22-5.el5_4.3 for Package:cyrus-sasl-dev El--> Processing dependency:cyrus-sasl-lib = 2.1.22-5.el5_4.3 for package:cyrus-sasl-plain--> Processing Depende Ncy:cyrus-sasl-lib = 2.1.22-5.el5_4.3 for package:cyrus-sasl-plain---> Package cyrus-sasl-lib.i386 0:2.1.22-7.el5_ 8.1 Set to is updated---> Package cyrus-sasl-lib.x86_64 0:2.1.22-7.el5_8.1 set to is updated--> the Running transactio N Check---> Package cyrus-sasl.x86_64 0:2.1.22-7.el5_8.1 set to is updated---> Package cyrus-sasl-devel.i386 0:2.1 .22-7.el5_8.1 set to IS UPDated---> Package cyrus-sasl-devel.x86_64 0:2.1.22-7.el5_8.1 set to is updated---> Package cyrus-sasl-plain.i386 0: 2.1.22-7.el5_8.1 set to is updated---> Package cyrus-sasl-plain.x86_64 0:2.1.22-7.el5_8.1 set to be updated--> Fin ished Dependency resolution Dependencies resolved ================================================================= ============================================================== Package Arch Version Repository Size ======================================================= ======================================================================== Installing:kernel-xen x86_64 2.6.18-348.16.1.0.1.el5 el5_latest M virt-viewer x86 _64 0.0.2-3.el5 el5_latest k Xen x86_64 3.0.3-142.el5_9.3 el5_latest 1.9 M xen-libs i386 3.0.3- 142.el5_9.3 el5_latest 177 k xen-libs x86_64 3. 0.3-142.el5_9.3 el5_latest 175 k installing for DEPENDENCIES:SDL x86_64 1.2.10-9.el5 el5_latest 213 k Bridge-utils x86_64 1.1-3.el5 el5_latest k cyrus-sasl- MD5 x86_64 2.1.22-7.el5_8.1 el5_latest k E4fspro Gs-libs i386 1.41.12-3.el5 el5_latest 108 k e4f
Sprogs-libs x86_64 1.41.12-3.el5 el5_latest k Ebtables x86_64 2.0.9-5.el5 el5_latest k Gtk-vnc x86_64 0.3.8-3.el5 el5_latest k Libvirt x86_64 0.8.2-29.0.1.el5_9.1 el5_latest 3.2 M Libvirt-pyt Hon x86_64 0.8.2-29.0.1.el5_9.1 el5_latest 239 k python- Virtinst Noarch 0.400.3-13.0.1.el5 el5_latest 384 k xz-
Libs i386 4.999.9-0.3.beta.20091007git.el5 El5_latest K Updating for DEPENDENCIES:CYRUS-SASL x86_64 2.1.22-7.el5_8.1 El5_latest 1.2 M cyrus-sasl-devel i386 2.1.22-7.el5_8.1 El5_latest 1.4 M cyrus-sasl-devel x86_64 2.1.22-7.el5_8.1 el5_latest 1.4 M cyrus-sasl-lib i386 2.1.22-7.el5_8.1 el5_latest 126 k cyrus-sasl-lib x86_64 2.1.22-7.el5_8.1 El5_la Test 130 K Cyrus-sasl-plain i386 2.1.22-7.el5_8.1 el 5_latest k Cyrus-sasl-plain x86_64 2.1.22-7.el5_8.1 El5_latest k Transaction Summary ====================================================================== ========================================================= Install Package (s) Upgrade 7 Package (s) total down Load Size:34 M is this OK [y/n]: Running rpm_check_debug Running Transaction test finished Transaction test Transaction T EST succeeded Running TrAnsaction Updating:cyrus-sasl-lib 1/30 UPDATING:CYRUS-SASL 2/30 installing:bridge-utils 3/30 INSTALLING:CYRUS-SASL-MD5 4/30 Updating:cyrus-sasl-plain 5/30 Installing:e4fsprogs-libs 6/30 Installing:xen-libs 7/30 Installing:gtk-vnc 8/30 Installing:ebtables 9/30 Installing:libvirt 10/30 Installing:libvirt-python 11/30 installing:sdl 12/30 Updating:cyrus-sasl-lib 13/30 Installing:xz-libs 14/30 Updating:cyrus-sasl-plain 15/30 Installing:e4fsprogs-libs 16/30 Installing:python-virtinst 17/30 Installing:kernel-xen 18/30 Installing:xen 19/30 Installing:virt-viewer 20/30 Installing:xen-libs 21/30 Updating:cyrus-sasl-devel 22/30 Updating:cyrus-sasl-devel 23/30 Cleanup:cyrus-sasl-plain 24/30 CLEANUP:CYRUS-SASL 25/30 Cleanup:cyrus-sasl-lib 26/30 Cleanup:cyrus-sasl-devel 27/30 Cleanup:cyrus-sasl-devel 28/30 Cleanup:cyrus-sasl-plain 29/30 Cleanup:cyrus-sasl-lib 30/30 installed:kernel-xen.x86_64 0:2.6.18-348.16.1.0.1.el5 virt-viewer.x86_64 0:0.0.2-3.el5
xen.x86_64 0:3.0.3-142.el5_9.3 xen-libs.i386 0:3.0.3-142.el5_9.3 xen-libs.x86_64 0:3.0.3-142.el5_9.3 Dependency installed:sdl.x86_64 0:1.2.10-9.el5 bridge-utils.x86_64 0:1.1-3.el5 cyrus-sasl-md5.x86_64 0:2. 1.22-7.el5_8.1 e4fsprogs-libs.i386 0:1.41.12-3.el5 e4fsprogs-libs.x86_64 0:1.41.12-3.el5 ebtables.x86_64 0:2.0.9-5.el5 gtk-vnc.x86_64 0:0.3.8-3.el5 libvirt.x 86_64 0:0.8.2-29.0.1.el5_9.1 libvirt-python.x86_64 0:0.8.2-29.0.1.el5_9.1 python-virtinst.noarch 0:0.4 00.3-13.0.1.el5 xz-libs.i386 0:4.999.9-0.3.beta.20091007git.el5 Dependency updated:cyrus-sasl.x86_64 0:2.1.22-7.el5 _8.1 cyrus-sasl-devel.i386 0:2.1.22-7.el5_8.1 cyrus-sasl-devel.x86_64 0:2.1.22-7.el5_8.1 cyrus-sasl-lib.i386 0:2.1.22-7.el5_8.1 cyrus-sasl-lib.x86_64 0:2.1.22-7.el5_8.1 cyru s-sasl-plain.i386 0:2.1.22-7.el5_8.1 cyrus-sasl-plain.x86_64 0:2.1.22-7.el5_8.1 Complete!