Xen: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(21 intermediate revisions by 8 users not shown)
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
|http://bits.xensource.com/oss-xen/release/{{Xen-Version}}/src.tgz/xen-{{Xen-Version}}-src.tgz
|http://bits.xensource.com/oss-xen/release/{{Xen-Version}}/xen-{{Xen-Version}}.tar.gz
|}
|}


----
----


{{Package-Introduction|Xen is a server virtualization application.|http://www.xensource.com}}
{{Package-Introduction|Xen is a server virtualization application.|http://www.xen.org}}


== 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 (if PAE is enabled).


iproute2
* [[bridge-utils]]
* [[curl]]
* [[Python]]
* [[Mercurial]] (Used to download kernel during 'make world')
* [[Xorg7/Intro|Xorg7]] (X11 headers)


bridge-utils (http://bridge.sourceforge.net)
=== Optional ===


Linux hotplug (http://linux-hotplug.sourceforge.net/
* [[TeXLive]] or other TeX distribution providing LaTeX


libcurl
== Non-Multilib ==
 
zlib
 
Python


LATEX
Note: Xen hvm capability relies on hvmloader (located in the tools subdir of the package); hvmloader currently builds only as a 32bit binary.  On pure64 systems, hvm functionality will not be realized (unless someone provides a way to compile hvmloader as a functional 64bit binary). 
 
== Non-Multilib ==
Incomplete test
--------------------------------------------------------------


Compile the package:
Compile the package:


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


Install the package:
Install the package:


  make install-twisted &&
  make install  
  make install-logging &&
depmod 2.6.18.8-xen
  make install-iptables &&
  make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
  make install-xen &&
  make linux-2.6-xen0-build
  make install-tools
  make linux-2.6-xen0-install
  depmod 2.6.18.8-xen0


== Multilib ==
== Multilib ==
Line 79: Line 74:


== 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-{{Xen-Version}}gz
        module /vmlinuz-2.6.18-xen ro root=/dev/<*d**>
EOF


== Contents ==
== Contents ==
Line 108: Line 113:
|}
|}


 
[[Category:Emulators]]
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

Latest revision as of 03:18, 23 July 2009

Download Source: http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz

Introduction to Xen

Xen is a server virtualization application.

Project Homepage: http://www.xen.org

Dependencies

Required

Xen requires a Linux distribution using GRUB bootloader and running on a P6-class or newer CPU (if PAE is enabled).

Optional

  • TeXLive or other TeX distribution providing LaTeX

Non-Multilib

Note: Xen hvm capability relies on hvmloader (located in the tools subdir of the package); hvmloader currently builds only as a 32bit binary. On pure64 systems, hvm functionality will not be realized (unless someone provides a way to compile hvmloader as a functional 64bit binary).

Compile the package:

make world 

Install the package:

make install 
depmod 2.6.18.8-xen
make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"
make linux-2.6-xen0-build
make linux-2.6-xen0-install
depmod 2.6.18.8-xen0

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.2.0gz
       module /vmlinuz-2.6.18-xen ro root=/dev/<*d**>
EOF

Contents

Installed Directories:
Installed Programs:
Installed Libraries:

Short Descriptions

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