How to install KVM on CentOS 7

 

yum install -y vim wget dnf epel-relase
yum install -y kvm
yum install -y qemu-kvm qemu-kvm-tools
yum install -y libvirt python-virtinst libvirt-python virt-manager libguestfs-tools bridge-utils virt-install
systemctl start libvirtd
systemctl enable libvirtd
lsmod | grep -i kvm

--------------------------------------
yum install -y epel-release vim wget dnf
dnf install -y cockpit cockpit-machines
systemctl enable cockpit.socket
systemctl restart cockpit.socket
firewall-cmd --add-service=cockpit
firewall-cmd --add-service=cockpit --permanent
firewall-cmd --reload
vim /etc/libvirt/qemu.conf
systemctl enable libvirtd
systemctl restart libvirtd

-----------------------------------------------------------

posted @ 2021-03-09 12:47  k98091518  阅读(69)  评论(0编辑  收藏  举报