Install kvm on Debian 10

To install kvm on Debian 10, run

apt install -y qemu-kvm

Install libvirt, it is a tool to manage kvm

apt install libvirt-clients libvirt-daemon libvirt-daemon-system

Set libvirtd to start on boot

systemctl enable libvirtd

Restart libvirtd

systemctl restart libvirtd

You can see libvirtd status with

systemctl status libvirtd

Install virtinst, it is used to create virtual machine.

apt install virtinst

To see network, run

virsh net-list --all

Start the “default” network

virsh net-start default

Set default network to auto start on boot

virsh net-autostart default

Now you have kvm and libvirtd installed. You can create virtual machine using virtinst or Virt Manager

See KVM

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *