VMware虚机在启动之前开启CPU虚拟化
1、安装桌面GUI
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
2、安装kvm
yum -y install libcanberra-gtk2 qemu-kvm.x86_64 qemu-kvm-tools.x86_64 libvirt.x86_64 libvirt-cim.x86_64 libvirt-client.x86_64 libvirt-java.noarch libvirt-python.x86_64 libiscsi-1.7.0-5.el6.x86_64 dbus-devel virt-clone tunctl virt-manager libvirt libvirt-python python-virtinst
查看kvm模块是否已经安装成功
3、安装桥接网络,并设置/
yum -y install bridge-utils
设置完成后重启网络,并查看网络
[root@localhost network-scripts]# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000c29c12e49 yes ens37
virbr0 8000.525400c9ff4e yes virbr0-nic
4、重启libvirt,设置开机自启动
systemctl start libvirtd
systemctl enable libvirtd
5、使用virt-manager图形化来管理kvm虚机
之后就是正常安装系统的步骤