How To Install KVM And libvirt On CentOS 6.2 With Bridged Networking - Page 2

Post-install Steps

Creating a virtual machine / guest by means of Virtual Machine Manager (virt-manager) from the Linux client machine. The guest OS will be an Ubuntu Server 11.10 Oneiric Ocelot:

For Ubuntu client (like in this guide):

$ sudo apt-get install virt-manager

For CentOS client:

$ sudo yum install virt-manager

Then download oneiric-server-amd64.iso from the Ubuntu site on the Linux client: 

$ wget http://releases.ubuntu.com/11.10/ubuntu-11.10-server-amd64.iso

Copy the downloaded ISO to SERVER:

$ scp ubuntu-11.10-server-amd64.iso bozz@SERVER:/var/lib/libvirt/images/

On the Linux client run virt-manager:

$ virt-manager &

Go to "File" / "Add Connection..." with these settings: 

  • Hypervisor: QEMU/KVM
  • Method: ssh
  • Username: bozz
  • Host: SERVER

Once connected click on the "Create a new virtual machine" button.

  1. Set the name to ubuntu-oneiric and choose "Local install media (ISO image or CDROM)":

  2. Browse and select the ISO located at /var/lib/libvirt/images/ubuntu-11.10-server-amd64.iso, OS type "Linux" and Version "Ubuntu 11.10 (Oneiric Ocelot)":

  3. Choose memory and CPU setting as you wish:

  4. Choose storage settings:

  5. Choose the previously created bridge network device "Host device eth0 (Bridge 'br0')", Virt type "kvm" and Architecture "x86_64":

    Press "Finish" button and install the guest OS.

 

References

Share this page:

1 Comment(s)