主机评测
一、部署KVM
刻录CentOS-7-x86_64-Minimal-1611.iso安装centos.7.3,安装完成之后上传或者下载CentOS-7-x86_64-DVD-1611.iso到系统里面
[root@localhost ~]# mkdir /mnt/cdrom
[root@localhost ~]# mount -o loop -t iso9660 /home/iso/CentOS-7-x86_64-DVD-1611.iso /mnt/cdrom/
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost ~]# mkdir repos.bak && mv *.repo repos.bak/
[root@localhost ~]# vi CentOS-Local.repo
[localcdrom]
name=CentOS-$releasever -Local CDROM
baseurl=file:///mnt/cdrom
gpgcheck=0
enabled=1 [root@localhost ~]# yum clean all
[root@localhost ~]# yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer virt-top gpxe-roms-qemu bridge-utils -y
[root@localhost ~]# systemctl start libvirtd
[root@localhost ~]# systemctl enable libvirtd
[root@localhost ~]# yum install "@X Window System" xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils -y
[root@localhost ~]# reboot