Install KVM + QEMU2008/11/30 |
It's the Virtualization settings with KVM ( Kernel-based Virtual Machine ) + QEMU.
This requires that the CPU on your computer has a function Intel VT or AMD-V. |
|
[1] | Install KVM. |
[root@dlp ~]# yum -y install kvm qemu bridge-utils [root@dlp ~]# modprobe kvm [root@dlp ~]# modprobe kvm_intel # if AMD, "kvm_amd" [root@dlp ~]# kvm_intel 41272 0 kvm 114752 1 kvm_intel
|
[2] | Configure Bridge networking. |
[root@dlp ~]# cd /etc/sysconfig/network-scripts [root@dlp network-scripts]# cp ifcfg-eth0 ifcfg-br0 [root@dlp network-scripts]# vi ifcfg-br0 DEVICE= br0 # change BOOTPROTO=static BROADCAST=192.168.0.255 HWADDR=00:14:85:F0:57:28 IPADDR=192.168.0.17 IPV6ADDR= IPV6PREFIX= NETMASK=255.255.255.0 NETWORK=192.168.0.0 ONBOOT=yes TYPE=Bridge # add [root@ns network-scripts]# vi ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.0.255 HWADDR=00:14:85:F0:57:28 IPADDR=192.168.0.17 IPV6ADDR= IPV6PREFIX= NETMASK=255.255.255.0 NETWORK=192.168.0.0 ONBOOT=yes BRIDGE=br0 # add [root@dlp network-scripts]# [root@dlp ~]# /etc/rc.d/init.d/network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] Bringing up interface br0: [ OK ]
|
Sponsored Link |
|