Difference between revisions of "Xen"

From CBLFS
Jump to navigationJump to search
(Still hasn't found the template.)
Line 9: Line 9:
 
{{Package-Introduction|Xen is a server virtualization application.|http://www.xensource.com}}
 
{{Package-Introduction|Xen is a server virtualization application.|http://www.xensource.com}}
  
 +
== Dependencies ==
  
http://www.linuxsir.org/main/doc/Xen3man/
+
=== Required ===
  
Required
+
Xen requires a Linux distribution using GRUB bootloader and running on a P6-class or newer CPU.
  
A working Linux distribution using the GRUB bootloader and running on a P6-class or newer CPU.
+
* [[iproute2]]
 
+
* [[bridge-utils]]
iproute2
+
* [[Linux hotplug]]
 
+
* [[curl]]
bridge-utils (http://bridge.sourceforge.net)
+
* [[Python]]
 
+
* [[LaTeX]]
Linux hotplug (http://linux-hotplug.sourceforge.net/
 
 
 
curl
 
 
 
zlib
 
 
 
Python
 
 
 
LATEX
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 
 
Incomplete test
 
--------------------------------------------------------------
 
 
 
Compile the package:
 
Compile the package:
  
  make kernels  
+
  make kernels &&
(  Wait for the download kernel,and beat the patch.After patching , Ctrl + C . )
+
  cd linux-2.6.18-xen &&
 
 
  cd linux-2.6.18-xen  
 
 
  cp -av /boot/config-{uname -r} .config &&
 
  cp -av /boot/config-{uname -r} .config &&
 
  make ARCH=xen oldconfig
 
  make ARCH=xen oldconfig
Line 84: Line 71:
  
 
== Configuring ==
 
== Configuring ==
 +
 +
Add an entry to your menu.lst file for the new Xen-enabled kernel:
 +
 +
cat >> /boot/grub/menu.lst << EOF
 +
# Xen Enabled kernel.
 +
title Xen-Enabled CLFS 1.0.0
 +
        root (hd0,0)
 +
        kernel /xen-3.1.0.gz
 +
        module /vmlinuz-2.6.18-xen ro root=/dev/<foo>
 +
        module /initrd-2.6.18-xen
 +
EOF
  
 
== Contents ==
 
== Contents ==
Line 112: Line 110:
 
|
 
|
 
|}
 
|}
 
 
Download xen OS img.tar.bz2 .
 
 
http://jailtime.org/
 
 
 
GRUB Configuration
 
cp /boot/grub/menu.lst /boot/grub/menu.lst_bak
 
 
/boot/grub/menu.lst
 
title My Distro with Xen (2.6.18-xen-3.1)
 
        root (hd0,0)
 
        kernel /xen-3.1.0.gz
 
        module /vmlinuz-2.6.18-xen ro root=/dev/<foo>
 
        module /initrd-2.6.18-xen
 

Revision as of 21:15, 16 June 2007

Download Source: http://bits.xensource.com/oss-xen/release/3.2.0/src.tgz/xen-3.2.0-src.tgz

Introduction to Xen

Xen is a server virtualization application.

Project Homepage: http://www.xensource.com

Dependencies

Required

Xen requires a Linux distribution using GRUB bootloader and running on a P6-class or newer CPU.

Non-Multilib

Compile the package:

make kernels &&
cd linux-2.6.18-xen &&
cp -av /boot/config-{uname -r} .config &&
make ARCH=xen oldconfig

Install the package:

make install-twisted &&
make install-logging &&
make install-iptables &&
make install-xen &&
make install-tools

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:


Install the package:


N32

Compile the package:


Install the package:


64Bit

Compile the package:


Install the package:


Configuring

Add an entry to your menu.lst file for the new Xen-enabled kernel:

cat >> /boot/grub/menu.lst << EOF
# Xen Enabled kernel.
title Xen-Enabled CLFS 1.0.0
       root (hd0,0)
       kernel /xen-3.1.0.gz
       module /vmlinuz-2.6.18-xen ro root=/dev/<foo>
       module /initrd-2.6.18-xen
EOF

Contents

Installed Directories:
Installed Programs:
Installed Libraries:

Short Descriptions

Retrieved from "?title=Xen&oldid=10292"