HowToInstallXenOnUbuntu11.10 (Oneiric)

Source: Internet
Author: User
Apt-getinstallxen-toolsxen-utils-commonxenwatchlibxen-devxen-docs-4.1xen-hypervisor-4.1-amd64xen-utils-4.1xenstore-utilsbridge-utilsgrub: Modify setdefault = "2", that is, start the following kernel: submenu "Xen4.1-am

Apt-get install xen-tools xen-utils-common xenwatch libxen-dev xen-docs-4.1 xen-hypervisor-4.1-amd64 xen-utils-4.1 xenstore-utils bridge-utils

Grub:

Modify set default = "2" to start the following kernel:

Submenu "Xen 4.1-amd64 "{
Menuentry 'ubuntu GNU/Linux, with Xen 4.1-amd64 and Linux 3.0.0-12-generic '-- class Ubuntu -- class gnu-linux -- class
Gnu -- class OS -- class xen {
Insmod part_msdos
Insmod ext2
Set root = '(hd0, msdos1 )'
Search -- no-floppy -- fs-uuid -- set = root 162bc81d-3f41-45cb-adf0-d56994a2a55c
Echo 'loading Xen 4.1-amd64 ...'
Multiboot/boot/xen-4.1-amd64.gz placeholder
Echo 'loading Linux 3.0.0-12-generic ...'
Module/boot/vmlinuz-3.0.0-12-generic placeholder root = UUID = 162bc81d-3f41-45cb-adf0-d56994a2a55c ro quiet
Splash
Echo 'loading initial ramdisk ...'
Module/boot/initrd. img-3.0.0-12-generic
}

Xend Configuration:
Vim/etc/xen/xend-config.sxp Add the following line
(Network-script network-bridge)

Bridge configuration

Cat/etc/network/interfaces
Auto lo
Iface lo inet loopback
Auto eth0
Iface eth0 inet dhcp
/Etc/init. d/networking restart
Ifdown eth0
Brctl delbr tmpbridge
/Etc/xen/scripts/network-bridge start
Check whether it is OK:
Brctl show
Bridge name bridge id STP enabled interfaces
Eth0 8000.1c6f450addfe no peth0

The ifconfig command shows the familiar eth0 and peth0, but eth0 and peth0 actually have the same IP address. After the restart, it returns to normal.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.