文章目录
一、实验环境
装备一台干净的centos7,50G
手动分区/boot
200M、/
10G、swap
2G
[root@localhost ~]# lsb_release -a
[root@localhost ~]# ifconfig
[root@localhost ~]# uname -r
查看ip地址
得到自己的ip地址为192.168.217.140,后面有用
二、安装图形化
1.安装GNOME Desktop
[root@localhost ~]# yum groupinstall "GNOME Desktop" -y
[root@localhost ~]# yum grouplist
[root@localhost ~]# init 5
2.另先下载CentOS-7-x86_64-Minimal-1908.iso文件到根目录/或者你喜欢的目录下,以备后面用
[root@localhost ~]#wget http://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1908.iso
三、配置KVM虚拟化
1.安装插件及工具
[root@localhost ~]# yum install -y qemu-kvm qemu-kvm-tools python-virtinst qemu-img bridge-utils libvirt virt-manager
2.关机
找到虚拟机设置
选择处理器,虚拟化引擎选择第二个
3.开机,验证是否满足
[root@localhost ~]# cat /proc/cpuinfo | egrep -o "vmx|smv"
[root@localhost ~]