Thursday, January 14, 2016

KVM Install

Host: Centos
Guest Centos
Admin laptop: Windows.

Follow steps in:
http://www.cyberciti.biz/faq/kvm-virtualization-in-redhat-centos-scientific-linux-6/

Start the KVM Installation as described. You'll notice you can't connect to the VNC server.,

VNC connect to the installer using the following steps:
1. Edit /etc/libvirt/qemu.conf

Uncomment and edit the appropriate line to:
vnc_listen = "10.X.X.X"

Where 10.X.X.X is your private IP.
If it is a public IP please be sure to use TLS etc.

2. Add the following rule to /etc/sysconfig/iptables:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5900 -j ACCEPT

and restart iptables.

3. Start up vncviewer on your Windows laptop and point to 10.X.X.X::5900

You should see the Centos installation process running on the Centos guest.