cd /etc/sysconfig/network-scripts/ cp ifcfg-eth0 ifcfg-br0 sed -i ‘s/DEVICE="eth0"/DEVICE="br0"/‘ ifcfg-br0 sed -i ‘s/TYPE=Ethernet/TYPE=Bridge/‘ ifcfg-br0
echo "BRIDGE=br0" >>ifcfg-eth0
手动配置网络
service network restart
yum install tigervnc-server.x86_64 iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 6900 -j ACCEPT service iptables restart service iptables stop mkdir -p /opt/kvm/img/ mkdir -p /opt/kvm/soft/ ==============================================================================================================================================================================================================================