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.