wiki:Xen_Installation/Xen4

Version 1 (modified by rock, 14 years ago) (diff)

--

Xen 4.0 Installation (Debian Lenny)


【安裝基本套件】

$ sudo aptitude install bcc bin86 gawk bridge-utils iproute libcurl3 \
libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo \
texlive-latex-base texlive-latex-recommended texlive-fonts-extra \
texlive-fonts-recommended pciutils-dev mercurial build-essential \
make gcc libc6-dev zlib1g-dev python python-dev python-twisted \
libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev \
iasl libbz2-dev e2fslibs-dev git-core uuid-dev

\\若是 64bit 系統還需安裝
$ sudo aptitude install gcc-multilib

【安裝 Xen 4.0】

【法一:從 Debian 的套件庫安裝 Xen】

因目前 Debian 官方維護的 Xen 套件版本較舊(Xen 3.2),Kernel 版本也較舊(2.6.26),若想使用最新版的 Xen4.0 和較新的 Kernel 必須從 source 安裝

$ sudo aptitude install xen-linux-system-2.6.26-2-xen-amd64 xen-hypervisor-3.2-1-amd64 xen-tools

【法二:從 Source 安裝 Xen】

$ cd /usr/src
$ sudo wget http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz
$ sudo tar zxvf xen-4.0.0.tar.gz
$ cd xen-4.0.0/
$ make -j 4 world

【Reference】

Attachments (2)

Download all attachments as: .zip