Install Xen 3.2 on Ubuntu 7.10 Desktop (amd64)
2008-04-16 10:06
330 查看
Saturday, March 22, 2008
Install Xen 3.2 on Ubuntu 7.10 Desktop (amd64)
Backported Mercurial from Ubuntu Hardy Heron
Repositories:-
$ vi /etc/apt/sources.list and add this line to the
end:
deb-src http://us.archive.ubuntu.com/ubuntu/ /
hardy main restricted universe multiverse
# apt-get update
# apt-get build-dep mercurial
# apt-get source -b mercurial
# dpkg -i mercurial_0.9.5-2_amd64.deb
Installed gcc:-
# apt-get install gcc gcc-3.4 gcc-4.1 libsdl1.2-dev /
make libz-dev uuid-dev libasound2-dev gcc libc6-dev /
zlib1g-dev
Installed 2.6.22-14-xen ubuntu xen-kernel
# aptitude install linux-image-xen
to protect Gnome desktop environment, when 2.6.18.8-xen kernel
would be loaded.
Dowloaded :-
zlib-1.2.3.tar.gz
openssl-0.9.8g.tar.gz
1. Tuned Makefile when install openssl
2. Tuned Makefile when install zlib
to perform "make install" to folders expected by Xen 3.2
3.apt-get install libncurses5-dev
Installing openssl assigned:-
INSTDIR=/usr
TOPDIR=/usr
in Makefile
Installing zlib configured as follows :-
# ./configure --shared
# make
# make install (in Makefile prefix=/usr)
Actions above have been undertaken to avoid failure when running:-
# make tools
Compiling Xen:-
# cd /usr/src
# wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz # hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg # tar -xzf xen-3.2.0.tar.gz
# cd xen-3.2.0
# make all
# make install
# update-rc.d xend defaults 20 21
# update-rc.d xendomains defaults 21 20
# depmod 2.6.18.8-xen
# mkinitramfs -o /boot/initrd.img-2.6.18.8-xen 2.6.18.8-xen
# vi /etc/init.d/xend and insert before shell code:-
mkdir -p /var/run/xenstored
mkdir -p /var/lock/subsys
Update /boot/grub/menu.lst
title Xen 3.2.0 / Ubuntu 7.10, kernel 2.6.18.8-xen
root (hd0,4)
kernel /boot/xen-3.2.0.gz
module /boot/vmlinuz-2.6.18.8-xen root=UUID=8f17d1a1-64ab-425a-9b53-71d20aa7893e ro
console=tty0
module /boot/initrd.img-2.6.18.8-xen
Boot into new kernel
SNV84 DomU has been installed and tested at
Xen 3.2 Ubuntu 7.10 Desktop Dom0 (64-bit).
Notice, that eth2 is ethernet interface connected to ADSL Modem acting as DHCP bridge
and reported by:-
# brctl show
as a xen bridge after tuning /etc/xen/xend-conf.sxp and rebooting into Xen 3.2 kernel.
********************** Installation profile ********************** name = 'Solaris84PVM' memory = '1024' disk = [ 'file:/usr/lib/xen-solaris/snv84.iso,6:cdrom,r','phy:/dev/sdb11,0,w'] vif = [ 'bridge = eth2' ] bootloader = '/usr/bin/pygrub' kernel = '/boot/platform/i86xpv/kernel/amd64/unix' ramdisk = '/boot/amd64/x86.miniroot' extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'
**************** Runtime profile **************** name = 'Solaris84PVM' memory = '1024' disk = [ 'phy:/dev/sdb11,0,w' ] vif = [ 'bridge = eth2' ]
References
1.http://lists.xensource.com/archives/html/xen-users/2008-01/msg00704.html
相关文章推荐
- Install LAMP on Ubuntu 7.10 Desktop
- How to fix the phpmyadmin error “json extension is missing” on Ubuntu 14.04 desktop amd64?
- Installing Oracle Database 10g Express Edition on Ubuntu 9.10 (Karmic Koala) x86_64 (amd64)
- How To Install ruby-oci8 on Ubuntu Desktop 64bits
- Authentication token manipulation error for ubuntu ubuntu-16.04.1-desktop-amd64
- 虚拟机安装——Win7+VirtualBox-3.2+Ubuntu-10.04(Desktop)
- ubuntu-14.04-desktop-amd64 安装 Beyond Compare,ia32-libs
- 在win7_64bit + ubuntu-12.04-desktop-amd64+VMware-workstation-full-10.0.1-1379776平台上安装ns-allinone-2.35
- VM安装ubuntu-14.04.1-desktop-amd64遇到的问题
- eclipse on ubuntu(类Linux) AMD64
- 别人ubuntu-16.04-desktop-amd64的艰辛安装之路
- 深度学习主机环境配置2---显卡配置:ubuntu-16.04.2-desktop-amd64.iso + GTX1070TI
- ubuntu-14.04.x-desktop-amd64.iso:安装Oracle11gR2
- 【Redis笔记-1】Redis Desktop Manager On Ubuntu
- ubuntu-16.04.3-desktop-amd64.iso
- ubuntu 8.04 install on xp, 3d desktop cool!
- 试用ubuntu-12.04.3-desktop-amd64
- eclipse on ubuntu(类Linux) AMD64
- Ubuntu 7.10 Server 安装 Desktop
- ubuntu-12.04.5-desktop-amd64 安装和基本配置