Linux之虚拟化部署
安装条件
1.inter cpu ------>vmx
2.amd cpu --------->svm
kvm虚拟化安装
dnf group install "Virtualization Client" "Virtualization Hypervisor" "Virtualization Tools" -y
Virtualization Client
虚拟化客户端Virtualization Tools
虚拟化工具Virtualization Hypervisor
虚拟化核心套件
[root@localhost Desktop]# virt-manager
[root@localhost Desktop]#
弹出窗口
[root@localhost Desktop]# systemctl enable --now libvirtd
不选以上打勾地方,会报如下错误
you must select an OS.
Can’t find the operating system you are looking for ?
Try selecting the next most recent version displayed,or use the "Generic " entry.
弹出窗口
/boot
1024Mswap
1024M
/
根,其余都给根
kvm虚拟化相关信息
服务名称:libvirtd
虚拟化核心:qemu/kvm
虚拟化存储目录(虚拟机硬盘)/var/lib/libvirt/images/westos.qcow2
虚拟化硬件信息:/etc/libvirt/qemu/westos.xml
手动安装虚拟机