Ubuntu11.10 install xen

Source: Internet
Author: User

My machine's operating system: Linux Ubuntu 3.0.0-11-generic # 18-ubuntu SMP Tue Sep 13 23:38:01 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

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 ).

Step 1:

Install required software packages

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:

Run the command: APT-cache search xen.
Then select to install tools related to xen. What I installed is:
$ Sudo apt-Get install xen-tools xen-utils-common xenomai-Doc xenomai-runtime xenwatch libxen-dev libxenstore3.0 xen-docs-4.1 xen-hypervisor-4.1-amd64 xen-utils-4.1 xenstore-utils

Step 3:

Add to Automatic startup script

Update-rc.d xend defaults 20 21

Update-rc.d xendomains defaults 21 20

Step 4:

Restart the machine, select a kernel with xen to start, and then enter the system,

Check whether the xen has been successfully installed:

 
$ Sudo XM listname ID mem vcpus state time (s) domain-0 1879 2 R ----- 6.6

The above information indicates that the installation is successful and can be used properly.

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.