How to install paravirtualized CentOS 5.3 x64 as domU
# virt-install --paravirt \
--name centosx64 \
--ram 512 \
--file /home/xen/images/centosx64.img \
--file-size 10 \
--nographics \
--location http://mirrors.kernel.org/centos/5.3/os/x86_64/
It means Memory: 512MB, Disk Image: 10GB and No Graphics
Check the comment if you want to make use of pre-downloaded iso image or dvd.
If you want to add Desktop environment after instrallation, just add these.
# yum groupinstall "X Window System" # yum groupinstall "GNOME Desktop Environment"
Reference: http://www.cyberciti.biz/tips/rhel-centos-xen-virtualization-installation-howto.html
June 12, 2009 at 12:35 am
How about that:-
# chkconfig httpd on
# service httpd start
# mkdir -p /var/www/html/centos53
# mount -o loop centos53.iso /var/www/html/centos53
–location http://IP-Dom0/centos53