Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:manual:virtual_machine_manager [2022/02/25 16:59]
i3_relativism [Instalar un gestor de máquinas virtuales]
en:manual:virtual_machine_manager [2023/10/24 01:08]
throgh [Virtual Machine Manager Installing]
Line 1: Line 1:
-(WIP) .... +====== Install a virtual machine manager ======
-translation needed! (also > https://c.hgit.ga/services/cl.git/diff/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md)+
  
-add highlights accordingly <color #620BB9/#EEDDFF>man ''command''</color>+Your host may be Hyperbola GNU/Linux-libre x86_64 architecture, for example, but with enough memory and processing power you could run [[https://trisquel.info|Trisquel]] and [[https://dragora.org/en/index.html|Dragora]] of the same time, on the same machine.
  
-====== Instalar un gestor de máquinas virtuales ====== +===== What is a virtual machine? =====
-Tu sistema principal puede ser Hyperbola GNU/Linux-libre de arquitectura x86_64, por ejemplo, pero con suficiente memoria y poder de procesamiento usted pordría ejecutar [[https://trisquel.info|Trisquel]] y [[https://dragora.org/en/index.html|Dragora]] al mismo tiempo, dentro de la misma máquina.+
  
-===== ¿Qué es un máquina virtual? ===== +virtual machine is software that simulates a computer system and can execute programs as if it were a real computerThis software was originally defined as "an efficient and isolated duplicate of a physical machine".
-Una máquina virtual es un software que simula un sistema de computación y puede ejecutar programas como si fuese una computadora real. Este software en un principio fue definido como "un duplicado eficiente y aislado de una máquina física".+
  
-===== ¿Qué programas me permiten ejecutar una máquina virtual? ===== +===== What programs allow me to run a virtual machine? =====
-En los sistemas operativos totalmente libres existe un programa llamado qemu que nos permite virtualizar.+
  
-Qemu funciona 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 program called <color #620BB9/#EEDDFF>qemu</color> that allows us to virtualize.
  
-En esta guía explicamos cómo instalar Virtual Machine Manager el cual es muy completo al momento de virtualizar sistemas operativos.+[[https://wiki.qemu.org/Main_Page|qemu]] works through the command line, but there are also GUIs. 
 + 
 +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. 
 + 
 +====== 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
 </code> </code>
  
-o ejecutar el comando:+or run the command:
  
 <code bash> <code bash>
Line 29: Line 29:
 </code> </code>
  
-Si su computadora admite virtualizacióndebería ver la salida como Virtualización: VT-x o Virtualización: AMD-V, caso contrario su ordenador no es capaz de virtualizar.+If your computer supports virtualizationyou should see the output as <color #620BB9/#EEDDFF>Virtualization: VT-x</color> or <color #620BB9/#EEDDFF>Virtualization: AMD-V</color>otherwise your computer is not capable of virtualizing. 
 + 
 +===== 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 <tu-usuario> kvm 
- 
-# gpasswd -a <tu-usuario> libvirt 
 </code> </code>
  
-==== Revisar el grupo kvm ==== 
 <code bash> <code bash>
-grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf+pacman -S qtemu
 </code> </code>
- 
-Comprobar si existe group="kvm" o group="78" 
- 
-==== Habilitar módulos del kernel para virtualización ==== 
-Módulo kvm_intel (procesadores Intel) 
  
 <code bash> <code bash>
-modprobe kvm_intel+usermod -aG kvm <your-user>
 </code> </code>
  
-Módulo kvm_amd (procesadores AMD) 
  
-<code bash> +===== Enable kernel modules for virtualization ===== 
-# modprobe kvm_amd +kvm_intel module (Intel processors) 
-</code>+<code bash># modprobe kvm_intel</code>
  
-==== Verifique que la máquina virtual este configurada correctamente ==== +kvm_amd module (AMD processors) 
-<code bash> +<code bash># modprobe kvm_amd</code>
-$ virt-host-validate +
-</code>+
  
-==== Servicios ==== +===== Enable nested virtualization in KVM =====
-Virt-Manager depende del servicio libvirtd para funcionar.+
  
-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 +
-</code>+
  
-=== Agregar libvirtd por defecto === +For Intel processors, check the <color #620BB9/#EEDDFF>/sys/module/kvm_intel/parameters/nested</color> file. For AMD processors, check the <color #620BB9/#EEDDFF>/sys/module/kvm_amd/parameters/nested</color>. If you see <color #620BB9/#EEDDFF>1</color> or <color #620BB9/#EEDDFF>Y</color>, nested virtualization is supported; if you see <color #620BB9/#EEDDFF>0</color> or <color #620BB9/#EEDDFF>N</color>, nested virtualization is not supported.
-<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 /sys/module/kvm_intel/parameters/nested
 </code> </code>
  
-==== Habilitar la virtualización anidada en KVM ==== +and return <color #620BB9/#EEDDFF>Y</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 nested virtualization for Intel processors =====
-Para los procesadores Intel, verifique el archivo /sys/module/kvm_intel/parameters/nested. Para procesadores AMD, verifique el archivo /sys/module/kvm_amd/parameters/nested. Si ve 1 o Y, se admite la virtualización anidada; si ve 0 o N, la virtualización anidada no es compatible.+
  
-Por ejemplo:+1. Turn off all running virtual machines and reload <color #620BB9/#EEDDFF>kvm_intel</color> module:
  
 <code bash> <code bash>
-$ cat /sys/module/kvm_intel/parameters/nested +# modprobe -r kvm_intel
-Y+
 </code> </code>
  
-=== 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 kvm_intel:+<code bash> 
 +# modprobe kvm_intel nested=1 
 +</code>
  
-    <code bash> +3. Nested virtualization is enabled until the host is restarted. To enable it permanently, add the following line to <color #620BB9/#EEDDFF>/etc/modprobe.d/kvm.conf</colorfile:
-    # modprobe -r kvm_intel +
-    </code>+
  
-    Activa la función de anidamiento+<code bash> 
 +# nano -w /etc/modprobe.d/kvm.conf 
 +---------------------------------- 
 +options kvm_intel nested=1 
 +</code>
  
-    <code bash> +===== Enable nested virtualization for AMD processors =====
-    # modprobe kvm_intel nested=+
-    </code> +
-     +
-    La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, agregue la siguiente línea al archivo /etc/modprobe.d/kvm.conf: +
-     +
-    <code bash> +
-    # nano -w /etc/modprobe.d/kvm.conf +
-    ---------------------------------- +
-    options kvm_intel nested=+
-    </code>+
  
-=== Habilitar la virtualización anidada para procesadores AMD===+1. Turn off all running virtual machines and reload <color #620BB9/#EEDDFF>kvm_amd</color> module:
  
-    Apague todas las máquinas virtuales en ejecución y recargue el módulo kvm_amd:+<code bash> 
 +# modprobe -r kvm_amd 
 +</code>
  
-    <code bash> +2. Activate the nesting function
-    # modprobe -r kvm_amd +
-    </code>+
  
-    Activa la función de anidamiento+<code bash> 
 +# modprobe kvm_amd nested=1 
 +</code>
  
-    <code bash> +3. Nested virtualization is enabled until the host is restarted. To enable it permanently, add the following line to <color #620BB9/#EEDDFF>/etc/modprobe.d/kvm.conf</colorfile:
-    # modprobe kvm_amd nested=1 +
-    </code>+
  
-    La virtualización anidada se habilita hasta que se reinicia el host. Para habilitarlo permanentemente, agregue la siguiente línea al archivo /etc/modprobe.d/kvm.conf: +<code bash> 
- +# nano -w /etc/modprobe.d/kvm.conf 
-    <code bash> +---------------------------------- 
-    # nano -w /etc/modprobe.d/kvm.conf +options kvm_amd nested=1 
-    ---------------------------------- +</code>
-    options kvm_amd nested=1 +
-    </code>+
  
-==== 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 #620BB9/#EEDDFF>vhost_net</color> module has [[https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html|CVE-2018-3646]] security issues which is L1TF and SMT CPU error with possible data leakIt's recommended to disable it as follows:
-El módulo vhost_net tiene problemas de seguridad CVE-2018-3646 que es un error de CPU L1TF SMT con posible fuga de datosLo recomendable es desactivarlo de la siguiente manera:+
  
 <code bash> <code bash>
Line 159: Line 121:
 </code> </code>
  
-Si estás en Hyperbola GNU/Linux-libre este módulo viene desactivado.+If you are in Hyperbola GNU/Linux-libre this module comes disabled.
  
-diff --git a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.en.md b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.en.md 
-index d5d261d..9ac01ea 100644 
---- a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.en.md 
-+++ b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.en.md 
-@@ -1,6 +1,7 @@ 
- Author: Jesús E. 
- Category: Tutorial 
- Date: 2020-05-03 03:12 
-+Modified: 2022-02-25 05:57 
- Diaspora: https://diasp.org/u/heckyel 
- Image: 2020/05/virt-manager.jpg 
- Lang: en 
-@@ -58,11 +59,11 @@ otherwise your computer is not capable of virtualizing. 
-     :::console 
-     # 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 <tu-usuario> kvm 
-+    # gpasswd -a <your-user> kvm 
-  
--    # gpasswd -a <tu-usuario> libvirt 
-+    # gpasswd -a <your-user> libvirt 
-  
- ### Check kvm group 
-  
-@@ -90,10 +91,9 @@ Check if there is `group="kvm"` or `group="78"` 
-  
- ### 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 
-  
-     :::console 
--    # 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: 
-  
-     :::console 
-     # rc-update del libvirtd default 
-  
--    # rc-update del firewalld default 
-- 
- ### Enable nested virtualization in KVM 
-  
- Nested virtualization allows you to run a virtual machine (VM) 
-diff --git a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md 
-index a73c58c..dbcedb8 100644 
---- a/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md 
-+++ b/content/articles/instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md 
-@@ -1,6 +1,7 @@ 
- Author: Jesús E. 
- Category: Tutorial 
- Date: 2020-05-03 03:12 
-+Modified: 2022-02-25 05:55 
- Diaspora: https://diasp.org/u/heckyel 
- Image: 2020/05/virt-manager.jpg 
- Lang: es 
-@@ -58,7 +59,7 @@ caso contrario su ordenador no es capaz de virtualizar. 
-     :::console 
-     # 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 <tu-usuario> kvm 
-  
-@@ -90,10 +91,9 @@ Comprobar si existe `group="kvm"` o `group="78"` 
-  
- ### 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: 
-     :::console 
-     # 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: 
-  
-     :::console 
-     # 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)