Install Virt Manager in Debian
Contents
virt-manager
or Virtual Machine Manager is a frontend for managing virtual machines through libvirt. It primarily targets KVM virtual machines but is also capable of managing Xen and LXC. In this post we will focus on KVM.
All commands in this post are supposed to be run as root.
Installing necessary tools
We will install libvirt, QEMU and a spice client.
|
|
Setting up libvirt
Set up networking
libvirt ships with a default network profile. Here we enable it have it start automatically. This will allow the virtual machines to connect to the internet.
|
|
Add yourself to necessary groups
Here you will add yourself to the necessary groups to avoid running as root every time you want to run a virtual machine. Replace <user>
with normal user.
|
|
Enable and start libvirt
Apt automatically enables and starts libvirtd.service
. We do it again anyways.
|
|
Now you should be able to install and manage virtual machines through virt-manager.
Author Aditya
LastMod 2022-04-29 (832b7a8)