How To Install KVM And libvirt On CentOS 6.2 With Bridged Networking - Page 2
On this page
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.
- Set the name to ubuntu-oneiric and choose "Local install media (ISO image or CDROM)":
- 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)":
- Choose memory and CPU setting as you wish:
- Choose storage settings:
- 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.