
Chapter 2
Installation
The Xen distribution includes three main components: Xen itself, ports of Linux 2.4
and 2.6 and NetBSD to run on Xen, and the user-space tools required to manage a
Xen-based system. This chapter describes how to install the Xen 2.0 distribution from
source. Alternatively, there may be pre-built packages available as part of your oper-
ating system distribution.
2.1 Prerequisites
The following is a full list of prerequisites. Items marked ‘†’ are required by the xend
control tools, and hence required if you want to run more than one virtual machine;
items marked ‘∗’ are only required if you wish to build from source.
• A working Linux distribution using the GRUB bootloader and running on a P6-
class (or newer) CPU.
† The iproute2 package.
† The Linux bridge-utils
1
(e.g., /sbin/brctl)
† An installation of Twisted v1.3 or above
2
. There may be a binary package avail-
able for your distribution; alternatively it can be installed by running ‘
make
install-twisted
’ in the root of the Xen source tree.
∗ Build tools (gcc v3.2.x or v3.3.x, binutils, GNU make).
∗ Development installation of libcurl (e.g., libcurl-devel)
∗ Development installation of zlib (e.g., zlib-dev).
∗ Development installation of Python v2.2 or later (e.g., python-dev).
∗ L
A
T
E
Xand transfig are required to build the documentation.
1
Available from http://bridge.sourceforge.net
2
Available from http://www.twistedmatrix.com
7
Commenti su questo manuale