Libvirt Setup: Difference between revisions

From Lucca's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
Install libvirt:
Install libvirt:


<code>sudo apt install libvirt-daemon-system</code> <-- The background process
<code>sudo apt install libvirt-daemon-system</code> <-- The background service


<code>sudo systemctl enable --now libvirtd</code>
<code>sudo systemctl enable --now libvirtd</code> <-- Enabling the background service


<code>sudo apt install virt-manager</code> <-- The GUI for creating and managing VMs  
<code>sudo apt install virt-manager</code> <-- The GUI for creating and managing VMs  


<code>sudo gpasswd -a $USER libvirt</code> <-- You will need to log out and back in for the changes to take effect.
<code>sudo gpasswd -a $USER libvirt</code> <-- You will need to log out and back in for the changes to take effect.

Revision as of 15:42, 29 March 2024

How to setup Qemu/KVM using libvirt on debian.


Install libvirt:

sudo apt install libvirt-daemon-system <-- The background service

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.