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 17:21] i3_relativism [¿Qué programas me permiten ejecutar una máquina virtual?] |
en:manual:virtual_machine_manager [2023/11/03 01:31] (current) throgh [Install a virtual machine manager] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | (WIP) .... | + | ====== Install a virtual machine manager ====== |
| - | translation needed! (also > https:// | + | |
| + | Your host may be Hyperbola GNU/ | ||
| - | ====== | + | ===== What is a virtual machine? |
| - | Tu sistema principal puede ser Hyperbola GNU/ | + | |
| - | ===== ¿Qué es un máquina | + | A virtual |
| - | Una máquina virtual es un software | + | |
| - | ===== Qué programas | + | ===== What programs allow me to run a virtual |
| - | En los sistemas operativos totalmente libres existe un programa llamado <color # | + | |
| - | [[https://wiki.qemu.org/Main_Page|Qemu]] funciona a través de línea de comandos, pero también existen GUI, que como su nombre indica son interfaces gráficas para el usuario. | + | In totally free operating systems there is a program called <color #620BB9/#EEDDFF>qemu</color> that allows us to virtualize. |
| - | En esta guía explicamos cómo instalar | + | [[https://wiki.qemu.org/ |
| + | |||
| + | In this guide we explain how to install [[https:// | ||
| + | |||
| + | ====== QtEmu installation ====== | ||
| + | |||
| + | ===== Check if your PC supports virtualization ===== | ||
| - | ===== Instalación de Virtual Machine Manager ===== | ||
| - | ====Revisar si su PC soporta virtualización ==== | ||
| <code bash> | <code bash> | ||
| $ LC_ALL=C lscpu | grep Virtualization | $ LC_ALL=C lscpu | grep Virtualization | ||
| </ | </ | ||
| - | o ejecutar el comando: | + | or run the command: |
| <code bash> | <code bash> | ||
| Line 28: | Line 29: | ||
| </ | </ | ||
| - | Si su computadora admite virtualización, debería ver la salida como <color # | + | If your computer supports virtualization, you should see the output as <color # |
| + | |||
| + | ===== QtEmu Installing ===== | ||
| - | ==== Instalando Virtual Machine Manager ==== | ||
| <code bash> | <code bash> | ||
| # pacman -Sy | # pacman -Sy | ||
| Line 36: | 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 < | ||
| - | </ | ||
| - | ==== Revisar el grupo kvm ==== | + | ===== Enable kernel modules for virtualization ===== |
| - | <code bash> | + | kvm_intel module (Intel processors) |
| - | # grep -E ' | + | <code bash># |
| - | </ | + | |
| - | Comprobar si existe | + | kvm_amd module (AMD processors) |
| + | <code bash># modprobe kvm_amd</code> | ||
| - | ==== Habilitar módulos del kernel para virtualización | + | ===== Enable nested virtualization in KVM ===== |
| - | Módulo kvm_intel (procesadores Intel) | + | |
| - | <code bash> | + | Nested virtualization allows you to run a virtual machine (VM) within another VM while still using host hardware acceleration. |
| - | # modprobe kvm_intel | + | |
| - | </ | + | |
| - | Módulo kvm_amd (procesadores AMD) | + | ===== Checking if nested virtualization is supported ===== |
| - | <code bash> | + | For Intel processors, check the <color # |
| - | # modprobe | + | |
| - | </code> | + | For example: |
| - | ==== Verifique que la máquina virtual este configurada correctamente ==== | ||
| <code bash> | <code bash> | ||
| - | $ virt-host-validate | + | $ cat / |
| </ | </ | ||
| - | ==== Servicios ==== | + | and return |
| - | Virt-Manager depende del servicio | + | |
| + | ===== Enable nested virtualization for Intel processors ===== | ||
| - | A continuación le explicamos cómo inciar ese servicio: | + | 1. Turn off all running virtual machines and reload <color # |
| - | ===Iniciar libvirtd === | ||
| <code bash> | <code bash> | ||
| - | # rc-service libvirtd start | + | # modprobe |
| </ | </ | ||
| - | === Agregar libvirtd por defecto === | + | 2. Activate the nesting function |
| <code bash> | <code bash> | ||
| - | # rc-update add libvirtd default | + | # modprobe kvm_intel nested=1 |
| </ | </ | ||
| - | === Quitar Servicio === | + | 3. Nested virtualization is enabled until the host is restarted. To enable it permanently, add the following line to <color # |
| - | Si desea quitar el servicio e iniciar solo cuando usted desee, ejecute: | + | |
| <code bash> | <code bash> | ||
| - | # rc-update del libvirtd default | + | # nano -w / |
| + | ---------------------------------- | ||
| + | options kvm_intel nested=1 | ||
| </ | </ | ||
| - | ==== Habilitar la virtualización anidada en KVM ==== | + | ===== Enable nested virtualization for AMD processors ===== |
| - | La virtualización anidada le permite ejecutar una máquina virtual (VM) dentro de otra VM mientras sigue utilizando la aceleración de hardware del host. | + | |
| - | === Comprobando si la virtualización anidada es compatible === | + | 1. Turn off all running virtual machines and reload |
| - | Para los procesadores Intel, verifique el archivo <color # | + | |
| - | + | ||
| - | Por ejemplo: | + | |
| <code bash> | <code bash> | ||
| - | $ cat / | + | # modprobe -r kvm_amd |
| - | Y | + | |
| </ | </ | ||
| - | === Habilitar la virtualización anidada para procesadores Intel: === | + | 2. Activate the nesting function |
| - | Apague todas las máquinas virtuales en ejecución y recargue el módulo <color # | + | <code bash> |
| - | | + | # modprobe |
| - | # modprobe | + | </ |
| - | </ | + | |
| - | Activa la función de anidamiento | + | 3. Nested virtualization is enabled until the host is restarted. To enable it permanently, |
| - | | + | <code bash> |
| - | # modprobe kvm_intel nested=1 | + | # nano -w / |
| - | </ | + | ---------------------------------- |
| - | + | options kvm_amd nested=1 | |
| - | La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, | + | </ |
| - | + | ||
| - | <code bash> | + | |
| - | # nano -w / | + | |
| - | ---------------------------------- | + | |
| - | options kvm_intel nested=1 | + | |
| - | </ | + | |
| - | + | ||
| - | === Habilitar la virtualización anidada para procesadores AMD: === | + | |
| - | + | ||
| - | Apague todas las máquinas virtuales en ejecución y recargue el módulo <color # | + | |
| - | + | ||
| - | <code bash> | + | |
| - | # modprobe -r kvm_amd | + | |
| - | </ | + | |
| - | + | ||
| - | Activa la función de anidamiento | + | |
| - | + | ||
| - | <code bash> | + | |
| - | # modprobe kvm_amd nested=1 | + | |
| - | </ | + | |
| - | + | ||
| - | La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, | + | |
| - | + | ||
| - | <code bash> | + | |
| - | | + | |
| - | ---------------------------------- | + | |
| - | options kvm_amd nested=1 | + | |
| - | </ | + | |
| - | ==== Capturas de pantalla de Virtual Machine Manager | + | ===== Modules with security issues ===== |
| - | Dragora en Virtual Machine Manager | + | |
| - | Captura de pantalla de Dragora GNU/Linux en Virtual Machine Manager | + | |
| - | Trisquel en Virtual Machine Manager | + | |
| - | Captura de pantalla de Trisquel GNU/Linux en Virtual Machine Manager | + | |
| - | ==== Módulos con problemas de seguridad ==== | + | The <color # |
| - | El módulo | + | |
| <code bash> | <code bash> | ||
| Line 163: | Line 121: | ||
| </ | </ | ||
| - | Si estás en Hyperbola GNU/ | + | If you are in Hyperbola GNU/ |
| - | diff --git a/ | ||
| - | index d5d261d..9ac01ea 100644 | ||
| - | --- a/ | ||
| - | +++ b/ | ||
| - | @@ -1,6 +1,7 @@ | ||
| - | | ||
| - | | ||
| - | Date: 2020-05-03 03:12 | ||
| - | +Modified: 2022-02-25 05:57 | ||
| - | | ||
| - | | ||
| - | Lang: en | ||
| - | @@ -58,11 +59,11 @@ otherwise your computer is not capable of virtualizing. | ||
| - | ::: | ||
| - | # pacman -Sy | ||
| - | |||
| - | - # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld | ||
| - | + # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils libvirt | ||
| - | |||
| - | - # gpasswd -a < | ||
| - | + # gpasswd -a < | ||
| - | |||
| - | - # gpasswd -a < | ||
| - | + # gpasswd -a < | ||
| - | |||
| - | ### Check kvm group | ||
| - | |||
| - | @@ -90,10 +91,9 @@ Check if there is `group=" | ||
| - | |||
| - | ### Services | ||
| - | |||
| - | -Virt-Manager relies on the `libvirtd` and | ||
| - | -`firewalld` services to function. | ||
| - | +Virt-Manager relies on `libvirtd` services to function. | ||
| - | |||
| - | -Here we explain how to start these services: | ||
| - | +Here we explain how to start these service: | ||
| - | |||
| - | #### Start libvirtd | ||
| - | |||
| - | @@ -103,28 +103,16 @@ Here we explain how to start these services: | ||
| - | #### Add libvirtd for default | ||
| - | |||
| - | ::: | ||
| - | - # rc-update add libvirtd default | ||
| - | + # rc-update add libvirtd defaultt | ||
| - | |||
| - | -#### Start firewalld | ||
| - | +#### Remove Service | ||
| - | |||
| - | - :::console | ||
| - | - # rc-service firewalld start | ||
| - | - | ||
| - | -#### Add firewalld for default | ||
| - | - | ||
| - | - :::console | ||
| - | - # rc-update add firewalld default | ||
| - | - | ||
| - | -#### Remove Services | ||
| - | - | ||
| - | -If you want to remove the services and start | ||
| - | +If you want to remove the service and start | ||
| - | only when you want, run: | ||
| - | |||
| - | ::: | ||
| - | # rc-update del libvirtd default | ||
| - | |||
| - | - # rc-update del firewalld default | ||
| - | - | ||
| - | ### Enable nested virtualization in KVM | ||
| - | |||
| - | | ||
| - | diff --git a/ | ||
| - | index a73c58c..dbcedb8 100644 | ||
| - | --- a/ | ||
| - | +++ b/ | ||
| - | @@ -1,6 +1,7 @@ | ||
| - | | ||
| - | | ||
| - | Date: 2020-05-03 03:12 | ||
| - | +Modified: 2022-02-25 05:55 | ||
| - | | ||
| - | | ||
| - | Lang: es | ||
| - | @@ -58,7 +59,7 @@ caso contrario su ordenador no es capaz de virtualizar. | ||
| - | ::: | ||
| - | # pacman -Sy | ||
| - | |||
| - | - # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld | ||
| - | + # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils libvirt | ||
| - | |||
| - | # gpasswd -a < | ||
| - | |||
| - | @@ -90,10 +91,9 @@ Comprobar si existe `group=" | ||
| - | |||
| - | ### Servicios | ||
| - | |||
| - | -Virt-Manager depende de los servicios `libvirtd` y | ||
| - | -`firewalld` para funcionar. | ||
| - | +Virt-Manager depende del servicio `libvirtd` para funcionar. | ||
| - | |||
| - | -A continuación le explicamos cómo inciar esos servicios: | ||
| - | +A continuación le explicamos cómo inciar ese servicio: | ||
| - | |||
| - | #### Iniciar libvirtd | ||
| - | |||
| - | @@ -105,26 +105,14 @@ A continuación le explicamos cómo inciar esos servicios: | ||
| - | ::: | ||
| - | # rc-update add libvirtd default | ||
| - | |||
| - | -#### Iniciar firewalld | ||
| - | +#### Quitar Servicio | ||
| - | |||
| - | - :::console | ||
| - | - # rc-service firewalld start | ||
| - | - | ||
| - | -#### Agregar firewalld por defecto | ||
| - | - | ||
| - | - :::console | ||
| - | - # rc-update add firewalld default | ||
| - | - | ||
| - | -#### Quitar Servicios | ||
| - | - | ||
| - | -Si desea quitar los servicios e iniciar solo cuando | ||
| - | +Si desea quitar el servicio e iniciar solo cuando | ||
| - | usted desee, ejecute: | ||
| - | |||
| - | ::: | ||
| - | # rc-update del libvirtd default | ||
| - | |||
| - | - # rc-update del firewalld default | ||
| - | - | ||
| - | ### Habilitar la virtualización anidada en KVM | ||
| - | |||
| - | La virtualización anidada le permite ejecutar una máquina virtual (VM) | ||