Install and configure Xen on Ubuntu

Source: Internet
Author: User
The server hard disk has been upgraded and the memory is still waiting. The memory is ordered with the hard disk. I don't know why it hasn't arrived yet. I finally found out why the RAID0 test result was abnormal the day before yesterday, A hard disk is faulty ~ There is a problem with the newly purchased unpacked hard disk. Currently, most SUN servers only have 2 GB-8 GB of memory. After the upgrade, the memory size should be 8 GB-32 GB, so that more memory can be allocated to each Xen virtual machine. Some of our operating systems are still 32-bit and must be upgraded to 64-bit to cope with the arrival of large memory. Today

The server hard disk has been upgraded and the memory is still waiting. The memory is ordered with the hard disk. I don't know why it hasn't arrived yet. I finally found out why the RAID 0 test result was abnormal the day before yesterday, A hard disk is faulty ~ There is a problem with the newly purchased unpacked hard disk. Currently, most SUN servers only have 2 GB-8 GB of memory. After the upgrade, the memory size should be 8 GB-32 GB, so that more memory can be allocated to each Xen virtual machine. Some of our operating systems are still 32-bit and must be upgraded to 64-bit to cope with the arrival of large memory. Install 64-bit Ubuntu on a Sun Fire X2200 M2 device. install and configure Xen after the upgrade. the following installation steps and configuration process are based on the Ubuntu 9.04 Server version. For the CentOS version, see install and configure Xen on CentOS. For the Debian version, see install and configure Xen On Debian, for OpenSolaris versions, see install and configure Xen on OpenSolaris.

Install Xen
Install tools supporting Xen:

$ Sudo apt-get install ubuntu-xen-server
Download and install the Linux kernel that supports Xen:

Http://security.debian.org/debian-security/pool/updates/main/l/linux-2.6/linux-modules-2.6.26-2-xen-amd64_2.6.26-17lenny2_amd64.deb

Http://security.debian.org/debian-security/pool/updates/main/l/linux-2.6/linux-image-2.6.26-2-xen-amd64_2.6.26-17lenny2_amd64.deb

$ Sudo dpkg-I linux-modules-2.6.26-2-xen-amd64_2.6.26-17lenny2_amd64.deb
$ Sudo dpkg-I linux-image-2.6.26-2-xen-amd64_2.6.26-17lenny2_amd64.deb
After the installation is successful, check whether the Xen kernel is installed:

$ Sudo vi/boot/grub/menu. lst

...
Title Xen 3.3/Ubuntu 9.04, kernel 2.6.26-2-xen-amd64
Root (hd0, 0)
Kernel/xen-3.3.gz
Module/vmlinuz-2.6.26-2-xen-amd64 root =/dev/mapper/nvidia_igcjceec3 ro console = tty0
Module/initrd. img-2.6.26-2-xen-amd64
...

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.