shenmingbusujiku / Linux

关于Linux的学习和项目
0 stars 0 forks source link

环境部署 #13

Open shenmingbusujiku opened 2 years ago

shenmingbusujiku commented 2 years ago

yum groupinstall -y "GNOME 桌面" 如果出现报错尝试更新一下软件包 yum upgroup -y 勾选虚拟化Intel-vtx Linux主机需要安装图形化桌面程序

Image

查看CPU支持的功能中是否存在 cat /proc/cpuinfo |grep -E 'vmx|svm' 卸载KVM yum remove rpm -qa |egrep 'qemu|virt|kvm' -y rm -rf /var/lib/libvirt /etc/libvirt/ 安装kvm yum install qemu virt librbd1-devel -y yum upgrade -y 启动服务 systemctl start libvirtd lsmod |grep kvm # 查看kvm模块加载 开启图形界面化 startx systemctl set-default graphical.target (开机图形化界面) systemctl set-default multi-user.target (开机命令行界面)