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:12] i3_relativism add proper text highlights |
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 # | + | |
- | Qemu funciona | + | In totally free operating systems there is a program called <color # |
- | En esta guía explicamos cómo instalar Virtual Machine Manager el cual es muy completo al momento de virtualizar sistemas operativos. | + | [[https:// |
+ | |||
+ | 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 | ||
- | |||
- | # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils libvirt | ||
- | |||
- | # gpasswd -a < | ||
- | |||
- | # gpasswd -a < | ||
</ | </ | ||
- | ==== Revisar el grupo kvm ==== | ||
<code bash> | <code bash> | ||
- | # grep -E ' | + | # pacman |
</ | </ | ||
- | |||
- | Comprobar si existe <color # | ||
- | |||
- | ==== Habilitar módulos del kernel para virtualización ==== | ||
- | Módulo kvm_intel (procesadores Intel) | ||
<code bash> | <code bash> | ||
- | # modprobe kvm_intel | + | # usermod -aG kvm < |
</ | </ | ||
- | Módulo kvm_amd (procesadores AMD) | ||
- | <code bash> | + | ===== Enable kernel modules for virtualization ===== |
- | # modprobe | + | kvm_intel module (Intel processors) |
- | </ | + | <code bash># modprobe |
- | ==== Verifique que la máquina virtual este configurada correctamente ==== | + | kvm_amd module (AMD processors) |
- | <code bash> | + | <code bash># modprobe kvm_amd</ |
- | $ virt-host-validate | + | |
- | </ | + | |
- | ==== Servicios | + | ===== Enable nested virtualization in KVM ===== |
- | Virt-Manager depende del servicio <color # | + | |
- | A continuación le explicamos cómo inciar ese servicio: | + | Nested virtualization allows you to run a virtual machine (VM) within another VM while still using host hardware acceleration. |
- | ===Iniciar libvirtd | + | ===== Checking if nested virtualization is supported ===== |
- | <code bash> | + | |
- | # rc-service libvirtd start | + | |
- | </ | + | |
- | === Agregar libvirtd por defecto === | + | For Intel processors, check the <color # |
- | <code bash> | + | |
- | # rc-update add libvirtd default | + | |
- | </code> | + | |
- | === Quitar Servicio === | + | For example: |
- | Si desea quitar el servicio e iniciar solo cuando usted desee, ejecute: | + | |
<code bash> | <code bash> | ||
- | # rc-update del libvirtd default | + | $ cat / |
</ | </ | ||
- | ==== Habilitar la virtualización anidada en KVM ==== | + | and return <color # |
- | 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 | + | ===== Enable |
- | Para los procesadores Intel, verifique el archivo <color # | + | |
- | Por ejemplo: | + | 1. Turn off all running virtual machines and reload <color # |
<code bash> | <code bash> | ||
- | $ cat / | + | # modprobe -r kvm_intel |
- | 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 kvm_intel |
- | # 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_intel nested=1 | |
- | La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, | + | </ |
- | + | ||
- | <code bash> | + | |
- | | + | |
- | ---------------------------------- | + | |
- | options kvm_intel nested=1 | + | |
- | </ | + | |
- | === Habilitar la virtualización anidada para procesadores | + | ===== Enable nested virtualization for AMD processors ===== |
- | Apague todas las máquinas virtuales en ejecución y recargue el módulo | + | 1. Turn off all running virtual machines and reload |
- | | + | <code bash> |
- | # modprobe -r kvm_amd | + | # modprobe -r kvm_amd |
- | </ | + | </ |
- | Activa la función de anidamiento | + | 2. Activate the nesting function |
- | | + | <code bash> |
- | # modprobe kvm_amd nested=1 | + | # modprobe kvm_amd nested=1 |
- | </ | + | </ |
- | La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, agregue la siguiente línea al archivo | + | 3. Nested virtualization is enabled until the host is restarted. To enable it permanently, add the following line to <color # |
- | | + | <code bash> |
- | # nano -w / | + | # nano -w / |
- | ---------------------------------- | + | ---------------------------------- |
- | options kvm_amd nested=1 | + | 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 157: | 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) |