Install Xen Virtual Machine within Centos 5.8

Test you have virt-manager installed by typing 'virt-manager' in your console
Click here to view full size

You should get something like below:
Click here to view full size

Download your distribution's iso
wget http://www.ubuntu.com/start-download?distro=server&bits=64&release=lts
Click here to view full size

Create a file like so (easier than typing in shell)
virt-install \
--name client1-ubuntu-server \
--hvm \
--ram 2048 \
--file /vm/client1-ubuntu-server.img \
--file-size 15 \
-c /home/isos/ubuntu-12.04-server-i386.iso \
--accelerate \
--vnc \
--noautoconsole


Save the file and run it like so:
Click here to view full size

If successful you should get the following output.
Click here to view full size

Open virtual machine manager again (step 1)
Click here to view full size

Double click on your new client to open it.
Click here to view full size

Run your normal installation (should run the iso like you just booted up with it in as a cd)
Click here to view full size



Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size




Click here to view full size

No comments:

Post a Comment