Ubuntu12.04 install Xen4

Source: Internet
Author: User
The Linux3.0 kernel already supports xen, so you don't need to compile the kernel anymore (for those systems that support the kernel, you don't need to re-compile the kernel ). Linux: Ubuntu12.04 Step 1: install the required software package install the package required for compiling Xen and Linuxxenkernel: $ sudoapt-getinstallgccg ++ makepatchlibssl-devbzip2gettext \ z

The Linux3.0 kernel already supports xen, so you don't need to compile the kernel anymore (for those systems that support the kernel, you don't need to re-compile the kernel ).

Linux: Ubuntu 12.04

Step 1: install the required software package

Install the required software packages for compiling Xen and Linux xen kernel:

$ Sudo apt-get install gcc g ++ make patch libssl-dev bzip2 gettext \

Zlib1g-dev python libncurses5-dev libjpeg62-dev libx11-dev \

Libgcrypt11-dev pkg-config bridge-utils bcc bin86 libpci-dev \

Libsdl-dev python-dev texinfo libc6-dev uuid-dev bison flex fakeroot \

Build-essential crash kexec-tools makedumpfile libncurses5 \

Libncurses5-dev iasl gawk

Step 2: Install xen vmm

The differences between 32-bit and 64-bit systems are also important. To enable pae for a 64-bit ubuntu server, you must run the following command:

Sudo apt-get install linux-image-server

Sudo apt-get install xen-hypervisor-4.1-amd64 xen-utils-4.1 xenwatch xen-tools xen-utils-common xenstore-utils

Here the xen-hypervisor-4.1 is divided into 32-bit, 64-bit system with xen-hypervisor-4.1-amd64, 32-bit with xen-hypervisor-4.1-i386.

Step 3: Install libvirt and Virtual Manager

Sudo apt-get install stronginst python-libvirt virt-viewer virt-manager

Step 4: restart the machine, select the kernel with xen to start, enter the system, and then check whether Xen has been successfully installed:

$ Sudo xm list

Name ID Mem VCPUs State Time (s)

Domain-0 0 1879 2 r ----- 6.6

If the preceding information is displayed, the installation is successful.

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.