instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md: add more info usage

This commit is contained in:
Jesús 2022-03-22 10:40:27 +08:00
parent a6e8ccc87a
commit f09aa1a189
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 30 additions and 4 deletions

View File

@ -146,6 +146,7 @@ Make virtual disk to use Virtual Machine.
qemu-system-x86_64 \
-monitor stdio \
--enable-kvm -m 512 \
-cpu host -smp 4 \
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
-drive file=/path/to/hyper.qcow2,if=virtio \
-boot c -rtc base=localtime \
@ -153,10 +154,19 @@ Make virtual disk to use Virtual Machine.
-net nic -net user \
-vga virtio
`-cpu host -smp 4` to use 4 cpus with original CPU-host name
`-net user` is important to have internet access within your new system.
`-m 512` is the set virtual RAM size (megabytes), default is 128 MB,
I chose 512
You can set `-vga virtio -display sdl,gl=on` for 3D emulation support
Also you can set `-device intel-hda -device hda-duplex` for audio support
on intel audio-card.
>For audio support check <https://wiki.archlinux.org/title/QEMU#Audio>
### Qemu + VNC as server
:::bash
@ -164,19 +174,21 @@ I chose 512
qemu-system-x86_64 \
-monitor stdio \
--enable-kvm -m 512 \
-cpu host -smp 4 \
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
-drive file=/path/to/hyper.qcow2,if=virtio \
-boot c -rtc base=localtime \
-device virtio-keyboard-pci \
-net nic -net user \
-vga virtio \
-display none \
-vga virtio -display none \
-vnc :0
One can add the `-vnc :X` option to have QEMU redirect the VGA display to
the VNC session. Substitute X for the number of the display (0 will
then listen on 5900, 1 on 5901, 2 on 5902, etc).
>Remember: Ctrl + Alt + G to exit capture, Ctrl + Alt + F to fullscreen!
>Warning: The default VNC server setup does not use any form of
>authentication. Any user can connect from any host.
> Maybe check: <https://wiki.archlinux.org/title/QEMU#Basic_password_authentication>

View File

@ -146,6 +146,7 @@ Escribir el disco virtual a usar por la máquina virtual.
qemu-system-x86_64 \
-monitor stdio \
--enable-kvm -m 512 \
-cpu host -smp 4 \
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
-drive file=/path/to/hyper.qcow2,if=virtio \
-boot c -rtc base=localtime \
@ -154,11 +155,21 @@ Escribir el disco virtual a usar por la máquina virtual.
-net user \
-vga virtio
`-cpu host -smp 4` para usar 4 CPUs con el nombre original del
CPU-hostpedador.
`-net user` es importante para tener acceso a Internet dentro
de su nuevo sistema. `-m 512` es el tamaño de RAM virtual
establecido (megabytes), el valor predeterminado es 128 MB,
elegí 512.
Usted puede agregar `-vga virtio -display sdl,gl=on` para la emulación 3D
También usted puede agregar `-device intel-hda -device hda-duplex` para el soporte
de audio en tarjetas de audio de Intel.
> Véase <https://wiki.archlinux.org/title/QEMU#Audio>
### Qemu + VNC como servidor
:::bash
@ -166,19 +177,22 @@ elegí 512.
qemu-system-x86_64 \
-monitor stdio \
--enable-kvm -m 512 \
-cpu host -smp 4 \
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
-drive file=/path/to/hyper.qcow2,if=virtio \
-boot c -rtc base=localtime \
-device virtio-keyboard-pci \
-net nic -net user \
-vga virtio \
-display none \
-vga virtio -display none \
-vnc :0
Se puede agregar la opción `-vnc :X` para que QEMU redirija la pantalla VGA a la sesión VNC.
Sustituya X por el número de la pantalla (0 entonces escuchará en 5900, 1 en 5901,
2 en 5902, etc).
>Recuerda! Ctrl + Alt + G para salir de la captura del mouse, Ctrl + Alt + F para pantalla
>completa!
>Advertencia: la configuración predeterminada del servidor VNC no
>utiliza ninguna forma de autenticación. Cualquier usuario puede
>conectarse desde cualquier host.