centos7.9安装kvm步骤

  1. Ifcfg-ens33 设置 修改BOOTPROTO=static onboot=yes BRIDGE=”br0”
  2. Br0设置 DEVICE="br0" NM_CONTROLLED="yes" TYPE="Bridge" BOOTPROTO=none

    ONBOOT=yes 然后network systemctl restart network
  3. 安装kvm软件和环境 yum install qemu-kvm libvirt libguestfs-tools virt-install virt-manager libvirt-python virt-viewer -y
  4. 开启kvm服务 systemctl start libvirtd

    Systemctl enable libvirtd

  5. virt-manager可以调出kvm图形界面,Virt-manager 转换中文界面 LANG=“zh_CN.UTF-8”

你可能感兴趣的:(centos)