Libvirt Setup: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
<hr> | <hr> | ||
Sources | Sources: | ||
https://ubuntu.com/server/docs/virtualization-libvirt | https://ubuntu.com/server/docs/virtualization-libvirt |
Revision as of 15:54, 29 March 2024
How to setup Qemu/KVM using libvirt on debian.
Install libvirt:
sudo apt install qemu-kvm
<-- The actual virtualization solution we are using
sudo apt install libvirt-daemon-system
<-- The background service that acts as a frontend for QEMU/KVM
sudo systemctl enable --now libvirtd
<-- Enabling the background service
sudo apt install virt-manager
<-- The GUI for creating and managing VMs
sudo gpasswd -a $USER libvirt
<-- You will need to log out and back in for the changes to take effect.
Open virt-manager from the GUI and start having fun! :D
Sources: https://ubuntu.com/server/docs/virtualization-libvirt