博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

jUsT olD tiMe

-=编程 艺术 人生=-
  hello386.cublog.cn

关于作者
姓名:豆子
职业:程序员
年龄:属狗的
位置:北京
个性介绍:
|| << >> ||
我的分类


Xen With Graphical User Interface On A Fedora 7

Xen With Graphical User Interface On A Fedora 7 Desktop

Version 1.0
Author: Oliver Meyer <o [dot] meyer [at] projektfarm [dot] de>
Last edited 09/17/2007

This document describes how to set up Xen on Fedora 7. Xen enables the paravirtualization of your hardware for its virtual machines if you have a CPU with Vanderpool (Intel) or Pacifica (AMD) technology. The paravirtualization provides high performance to your virtual machines. Fedora's virt-manager provides an easy to use GUI for setting up and managing your virtual machines. It does not have the extensive features like VMware Server, but the basics are in place. 

This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web.

This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

1 Install Xen

1.1 Fresh Installation

If you are going to set up a fresh system, you can select the needed packages during the installation. Choose Customize now at the corresponding step to customize the software selection during the installation:

In the window for the software selection click Base System on the left side and afterwards mark the checkbox Virtualization on the right side:

 

1.2 Existing System

If you want to use an existing Fedora 7 system, install the needed packages with yum:

yum install kernel-xen xen virt-manager

Afterwards reboot your system and choose the xen-kernel from the grub menu.

 

2 Using The Gui

After the Xen installation, you'll have a new entry in the menu - the Virtual Machine Manager:

The Virtual Machine Manager provides the basic features for setting up and managing virtual machines. The available help in the menu at the top is short but useful - cast an eye at it. Don't wonder about the running machine Domain 0 in the list - it's your own system.

Time to set up your first virtual machine with xen. Select New machine... from the menu:

The first window in the new popup gives you a short introduction about the following steps:

Choose a name for your new virtual machine in the next window:

Next step is to choose between performance and compatibility - choose Paravirtualized to get the maximum performance:



In the following windows you are asked for the URL of your install media - you can insert a http link, ftp link or local directory. Additionally you can insert the path to a kickstart file. Further details about kickstart can be found at http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-kickstart2.html. I chose Fedora 7 for the virtual machine - use a system of your choice. For example, the installation files for Fedora 7 can be found at http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/7/Fedora/i386/os/.



Now select a location for your virtual machine - this can be a own partition or a file somewhere on your system. I chose /home/xen/fedora_7 with a size of 10000MB:

In the next window you have the choice between a virtual network or a shared physical network device for the virtual machine. I chose the virtual network. Note: You can edit the settings for the virtual networks in the menu.

Next step is to allocate ressources to the virtual machine. You have to define the startup memory, maximum memory and the number of virtual CPUs. For performance reasons, the number of virtual CPUs should not be greater than the number of logical CPUs on the host system.

The summary of your choices is the last window before the installation:

Afterwards the installation will start with downloading the basic installation files...

...and go ahead with creating the storage file and the domain.

After this step, the proper installation of the virtual machine will start:

Now, when the installation is finished, you can edit the virtual machine settings in the corresponding menu by right-clicking on it:

 

3 Links


 原文地址 http://www.howtoforge.com/xen_gui_fedora_7_desktop
发表于: 2007-09-28,修改于: 2007-09-28 08:35,已浏览907次,有评论0条 推荐 投诉


网友评论
 发表评论