免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 941 | 回复: 0
打印 上一主题 下一主题

Xen With Graphical User Interface On A Fedora 7 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-28 08:35 |只看该作者 |倒序浏览
Xen With Graphical User Interface On A Fedora 7 Desktop
Version 1.0
  Author: Oliver Meyer
  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:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
In the window for the software selection click Base System on the left side and afterwards mark the checkbox Virtualization on the right side:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)

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:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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.




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Time to set up your first virtual machine with xen. Select New machine... from the menu:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
The first window in the new popup gives you a short introduction about the following steps:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Choose a name for your new virtual machine in the next window:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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.




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
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.




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
The summary of your choices is the last window before the installation:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Afterwards the installation will start with downloading the basic installation files...




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
...and go ahead with creating the storage file and the domain.




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
After this step, the proper installation of the virtual machine will start:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
Now, when the installation is finished, you can edit the virtual
machine settings in the corresponding menu by right-clicking on it:




(JavaScript must be enabled in your browser to view the large image as an image overlay.)




(JavaScript must be enabled in your browser to view the large image as an image overlay.)
  
3 Links

               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7893/showart_391559.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP