Note = Kernel-xen And Xend
Xen Setup
CentOS 5 |
Name :
xen
Summary : Xen is a virtual machine monitor
URL :
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html
License : GPLv2+, LGPLv2+
Description : This package contains the Xen tools and management
daemons needed
: to run virtual machines on x86, x86_64, and ia64 systems.
: Information on how to use Xen can be found at the
Xen project pages.
:
: The Xen system also requires the Xen hypervisor and
domain-0
: kernel, which can be found in the kernel-xen*
package.
:
: Virtualization can be used to run multiple
operating systems on one
: physical system, for purposes of hardware consolidation,
hardware
: abstraction, or to test
untrusted applications in a sandboxed
: environment.
Install
Virtual
Machine
Zones, for slow connection follow step no 5
with fully virtualized "NO"
[root@cos ~]# virt-install
--prompt
What is the name of your virtual machine? zones25
How much RAM should be allocated (in
megabytes)? 256
What would you like to use as
the disk (path)? /zones/zones25.img
How large would you like the disk
(/zones/zones25.img) to be (in gigabytes)? 30
Would you like to enable graphics support? (yes
or no) no
What is the install location?
http://centosf.centos.org/centos-5/5.4/os/i386/
Setup
Apache
in
XenHost and Mount ISO O/S
[root@cos ~]#
yum install httpd
[root@cos ~]# /sbin/service httpd
start
[root@cos ~]# mkdir /mnt/iso
[root@cos ~]# mount -t iso9660 -o
loop /media/CentOS.iso /mnt/iso
[root@cos ~]# cd /var/www/html
[root@cos html]# ln -s
/mnt/iso iso
What is the install location? http://xenhost.ip/iso