Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:manual:virtual_machine_manager [2022/02/25 19:47] heckyel |
en:manual:virtual_machine_manager [2023/11/03 01:31] (current) throgh [Install a virtual machine manager] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Install a virtual machine manager ====== | ====== Install a virtual machine manager ====== | ||
- | Your host may be Hyperbola GNU/ | + | Your host may be Hyperbola GNU/ |
===== What is a virtual machine? ===== | ===== What is a virtual machine? ===== | ||
Line 13: | Line 13: | ||
[[https:// | [[https:// | ||
- | In this guide we explain how to install [[https://virt-manager.org/|Virtual Machine Manager]] which is very complete when virtualizing operating systems. | + | In this guide we explain how to install [[https://qtemu.org/|QtEmu]] which offers a simple nevertheless quite effective graphical interface for managing virtual machines. |
- | ====== | + | ====== |
===== Check if your PC supports virtualization ===== | ===== Check if your PC supports virtualization ===== | ||
Line 31: | Line 31: | ||
If your computer supports virtualization, | If your computer supports virtualization, | ||
- | ===== Virtual Machine Manager | + | ===== QtEmu Installing ===== |
<code bash> | <code bash> | ||
Line 38: | Line 38: | ||
<code bash> | <code bash> | ||
- | # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils libvirt | + | # pacman -S qtemu |
</ | </ | ||
<code bash> | <code bash> | ||
- | # gpasswd | + | # usermod |
</ | </ | ||
- | <code bash> | ||
- | # gpasswd -a < | ||
- | </ | ||
- | |||
- | |||
- | ===== Check kvm group ===== | ||
- | |||
- | <code bash> | ||
- | # grep -E ' | ||
- | </ | ||
- | |||
- | Check if there is <color # | ||
===== Enable kernel modules for virtualization ===== | ===== Enable kernel modules for virtualization ===== | ||
+ | kvm_intel module (Intel processors) | ||
+ | <code bash># modprobe kvm_intel</ | ||
- | - kvm_intel module (Intel processors) | + | kvm_amd module (AMD processors) |
- | + | <code bash># modprobe kvm_amd</ | |
- | <code bash> | + | |
- | # modprobe kvm_intel | + | |
- | </ | + | |
- | + | ||
- | - kvm_amd module (AMD processors) | + | |
- | + | ||
- | <code bash> | + | |
- | # modprobe kvm_amd | + | |
- | </ | + | |
- | + | ||
- | ===== Verify that the virtual machine is configured correctly ===== | + | |
- | + | ||
- | <code bash> | + | |
- | $ virt-host-validate | + | |
- | </ | + | |
- | + | ||
- | ===== Services ===== | + | |
- | + | ||
- | Virt-Manager relies on <color # | + | |
- | + | ||
- | Here we explain how to start these service: | + | |
- | + | ||
- | ====== Start libvirtd ===== | + | |
- | + | ||
- | <code bash> | + | |
- | # rc-service libvirtd start | + | |
- | </ | + | |
- | + | ||
- | ===== Add libvirtd for default ===== | + | |
- | + | ||
- | <code bash> | + | |
- | # rc-update add libvirtd default | + | |
- | </ | + | |
- | + | ||
- | ===== Remove Service ===== | + | |
- | + | ||
- | If you want to remove the service and start | + | |
- | only when you want, run: | + | |
- | + | ||
- | <code bash> | + | |
- | # rc-update del libvirtd default | + | |
- | </ | + | |
===== Enable nested virtualization in KVM ===== | ===== Enable nested virtualization in KVM ===== | ||
Line 162: | Line 110: | ||
# nano -w / | # nano -w / | ||
---------------------------------- | ---------------------------------- | ||
- | options | + | options |
</ | </ | ||
===== Modules with security issues ===== | ===== Modules with security issues ===== | ||
- | The <color # | + | The <color # |
<code bash> | <code bash> |