Install xen in yum in centos 5.3

Source: Internet
Author: User
Tags gtk

Xen source code installation has encountered some problems, and now there is no time to solve them one by one. I will try again later. Empty write log first

Use Yum to install the package group of virtualization. The virtualization package group contains all the xen components. Therefore, you only need to use Yum groupinstall to install all the xen components. Mainly include:
Xen: This is the main program of xen and the essential component for executing xen.
Kernel-xen: This is the Linux kernel package for xen rewriting.
Libvirt: provides the link library and management tools required for virtualization.
Python-embedded inst: a tool for creating and installing virtual machines using a text interface.
Virt-Manager: A graphical xen integrated management tool.
[Root @ localhost ~] # Yum-y groupinstall 'canonicalization'
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile

......
......
......

Dependencies resolved

========================================================== ==========================================================
Package arch version Repository
Size
========================================================== ==========================================================
Installing:
Gnome-applet-VM i386 0.1.2-1. EL5 base 76 K
Kernel-xen i686 2.6.18-164.15.1.el5 updates 17 m
Libvirt i386 0.6.3-Latest 1.el5 _ 4 Updates 1.9 m
Virt-manager i386 0.6.1-8. EL5 base 1.5 m
Virt-Viewer i386 0.0.2-3. EL5 base 25 K
Xen i386 3.0.3-94. el5_4.3 updates 1.9 m
Updating:
Cyrus-sasl i386 2.1.22-5. EL5 base 1.2 m
Cyrus-sasl-devel i386 2.1.22-5. EL5 base 1.4 m
Cyrus-sasl-lib i386 2.1.22-5. EL5 base 126 K
Cyrus-sasl-plain i0000title centos (2.6.18-164.15.1.el5xen)
Root (hd0, 0)
Kernel/xen.gz-2.6.18-164.15.1.el5
Module/vmlinuz-2.6.18-164.15.1.el5xen Ro root = label =/rhgb quiet
Module/initrd-2.6.18-164.15.1.el5xen.img 2.1.22-5. EL5 base 26 K
Gnome-python2-applet i386 2.16.0-3. EL5 Base 12 K
Gnome-python2-desktop i386 2.16.0-3. EL5 base 43 K
Gnome-python2-gnomeprint i386 2.16.0-3. EL5 base 77 K
Gnome-python2-gtksourceview i386 2.16.0-3. EL5 base 56 K
Installing for dependencies:
Bridge-utils i386 1.1-2 base 27 k
Cyrus-sasl-md5 i386 2.1.22-5. EL5 base 45 K
Gnome-python2-gnomekeyring i386 2.16.0-3. EL5 base 16 K
GTK-VNC i386 0.3.8-3. EL5 base 80 K
GTK-VNC-Python i386 0.3.8-3. EL5 Base 12 K
Iscsi-initiator-utils i386 6.2.0.871-0.12.el5 _ 4.1 updates 774 K
Libvirt-Python i386 0.6.3-runtime 1.el5 _ 4 Updates 132 k
Python-connector inst noarch 0.400.3-5. EL5 base 378 K
Xen-libs i386 3.0.3-94. el5_4.3 updates 154 K

Transaction Summary
========================================================== ==========================================================
Install 15 package (s)
Update 8 package (s)
Remove 0 package (s)
......
Installed :......
Updated: c ......
Complete!
Now the installation is complete. Restart and manually select the xen kernel.
[Root @ localhost ~] # Rpm-Q xen
Xen-3.0.3-94.el5_4.3
This indicates that the xen software package has been installed.
[Root @ localhost ~] # Uname-R
2.6.18-164.15.1.el5xen
The query results indicate that the kernel version currently being executed is 2.6.18-164.15.1.el5xen.
The last step is to ensure that the xend service is executed normally. The xend service is a service used in xen to manage all virtual machines. Check the xend status to ensure that the virtual machine can be used normally.
[Root @ localhost ~] # Service xend status
Xend is running
The service has been started. If it is not started, the Service xend start
[Root @ localhost ~] # XM list
Name id mem (MIB) vcpus state time (s)
Domain-0 0 879 1 R ----- 72.1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.