Line 2:
Line 2:
<br clear="all" />
<br clear="all" />
From terminal:
From terminal:
sudo pacman -S virt-manager qemu vde2 iptables-nft dnsmasq bridge-utils openbsd-netcat edk2-ovmf swtpm
sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft
For TPM support:
sudo pacman -S --asdeps swtpm
Enable and start service
Enable and start service
sudo systemctl enable libvirtd.service
sudo systemctl enable libvirtd.service
Revision as of 12:12, 13 February 2023
Information about message (contribute ) This message has no documentation.
If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Virt-manager )
= Install virt-manager, qemu and all dependencies= <br clear="all" /> From terminal: {{UserCmd|command=sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft}} For TPM support: {{UserCmd|command=sudo pacman -S --asdeps swtpm}} Enable and start service {{UserCmd|command=sudo systemctl enable libvirtd.service}} Add user to ''libvirt,'' ''libvirt-qemu'' and ''kvm'' groups to use the '''system'''-level virtual machines (qemu:///system). {{UserCmd|command=sudo usermod -a -G libvirt,libvirt-qemu,kvm $USER}} Note that you will need to restart userspace for the groups to become active. To restart userspace {{UserCmd|command=systemctl soft-reboot}} {{note| # You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group # You can also create '''user'''-level virtual machines (qemu:///session) and use without sudoer's privelige. However, some features such as [https://libvirt.org/kbase/virtiofs.html VirtioFS file sharing] may be unavailable in qemu:///session}}
= Install virt-manager, qemu and all dependencies=
<br clear="all" />
From terminal:
{{UserCmd|command=sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft}}
For TPM support:
{{UserCmd|command=sudo pacman -S --asdeps swtpm}}
Enable and start service
{{UserCmd|command=sudo systemctl enable libvirtd.service}}
Add user to ''libvirt,'' ''libvirt-qemu'' and ''kvm'' groups to use the '''system'''-level virtual machines (qemu:///system).
{{UserCmd|command=sudo usermod -a -G libvirt,libvirt-qemu,kvm $USER}}
Note that you will need to restart userspace for the groups to become active. To restart userspace
{{UserCmd|command=systemctl soft-reboot}}
{{note|
# You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the ''libvirt'' group
# You can also create '''user'''-level virtual machines (qemu:///session) and use without sudoer's privelige. However, some features such as [https://libvirt.org/kbase/virtiofs.html VirtioFS file sharing] may be unavailable in qemu:///session}} Install virt-manager, qemu and all dependencies
From terminal:
sudo pacman -S --needed virt-manager qemu-desktop libvirt edk2-ovmf dnsmasq iptables-nft
For TPM support:
sudo pacman -S --asdeps swtpm
Enable and start service
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
Add user to libvirt group to use the system -level virtual machines (qemu:///system)
sudo usermod -a -G libvirt $USER
Note
You don't need this step to run system-level virtual machines. However, virt-manager will prompt for sudoer's password when launch if the user is not in the libvirt group
You can also create user -level virtual machines (qemu:///session) and use without sudoer's privelige. However, some features such as VirtioFS file sharing may be unavailable in qemu:///session