instalar-un-gestor-de-maquinas-virtuales-en-hyperbola-gnulinux-libre.md: add more info usage
This commit is contained in:
parent
a6e8ccc87a
commit
f09aa1a189
@ -146,6 +146,7 @@ Make virtual disk to use Virtual Machine.
|
|||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-monitor stdio \
|
-monitor stdio \
|
||||||
--enable-kvm -m 512 \
|
--enable-kvm -m 512 \
|
||||||
|
-cpu host -smp 4 \
|
||||||
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
||||||
-drive file=/path/to/hyper.qcow2,if=virtio \
|
-drive file=/path/to/hyper.qcow2,if=virtio \
|
||||||
-boot c -rtc base=localtime \
|
-boot c -rtc base=localtime \
|
||||||
@ -153,10 +154,19 @@ Make virtual disk to use Virtual Machine.
|
|||||||
-net nic -net user \
|
-net nic -net user \
|
||||||
-vga virtio
|
-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.
|
`-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,
|
`-m 512` is the set virtual RAM size (megabytes), default is 128 MB,
|
||||||
I chose 512
|
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
|
### Qemu + VNC as server
|
||||||
|
|
||||||
:::bash
|
:::bash
|
||||||
@ -164,19 +174,21 @@ I chose 512
|
|||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-monitor stdio \
|
-monitor stdio \
|
||||||
--enable-kvm -m 512 \
|
--enable-kvm -m 512 \
|
||||||
|
-cpu host -smp 4 \
|
||||||
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
||||||
-drive file=/path/to/hyper.qcow2,if=virtio \
|
-drive file=/path/to/hyper.qcow2,if=virtio \
|
||||||
-boot c -rtc base=localtime \
|
-boot c -rtc base=localtime \
|
||||||
-device virtio-keyboard-pci \
|
-device virtio-keyboard-pci \
|
||||||
-net nic -net user \
|
-net nic -net user \
|
||||||
-vga virtio \
|
-vga virtio -display none \
|
||||||
-display none \
|
|
||||||
-vnc :0
|
-vnc :0
|
||||||
|
|
||||||
One can add the `-vnc :X` option to have QEMU redirect the VGA display to
|
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
|
the VNC session. Substitute X for the number of the display (0 will
|
||||||
then listen on 5900, 1 on 5901, 2 on 5902, etc).
|
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
|
>Warning: The default VNC server setup does not use any form of
|
||||||
>authentication. Any user can connect from any host.
|
>authentication. Any user can connect from any host.
|
||||||
> Maybe check: <https://wiki.archlinux.org/title/QEMU#Basic_password_authentication>
|
> Maybe check: <https://wiki.archlinux.org/title/QEMU#Basic_password_authentication>
|
||||||
|
@ -146,6 +146,7 @@ Escribir el disco virtual a usar por la máquina virtual.
|
|||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-monitor stdio \
|
-monitor stdio \
|
||||||
--enable-kvm -m 512 \
|
--enable-kvm -m 512 \
|
||||||
|
-cpu host -smp 4 \
|
||||||
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
||||||
-drive file=/path/to/hyper.qcow2,if=virtio \
|
-drive file=/path/to/hyper.qcow2,if=virtio \
|
||||||
-boot c -rtc base=localtime \
|
-boot c -rtc base=localtime \
|
||||||
@ -154,11 +155,21 @@ Escribir el disco virtual a usar por la máquina virtual.
|
|||||||
-net user \
|
-net user \
|
||||||
-vga virtio
|
-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
|
`-net user` es importante para tener acceso a Internet dentro
|
||||||
de su nuevo sistema. `-m 512` es el tamaño de RAM virtual
|
de su nuevo sistema. `-m 512` es el tamaño de RAM virtual
|
||||||
establecido (megabytes), el valor predeterminado es 128 MB,
|
establecido (megabytes), el valor predeterminado es 128 MB,
|
||||||
elegí 512.
|
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
|
### Qemu + VNC como servidor
|
||||||
|
|
||||||
:::bash
|
:::bash
|
||||||
@ -166,19 +177,22 @@ elegí 512.
|
|||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-monitor stdio \
|
-monitor stdio \
|
||||||
--enable-kvm -m 512 \
|
--enable-kvm -m 512 \
|
||||||
|
-cpu host -smp 4 \
|
||||||
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
-cdrom /path/to/hyperbola-milky-way-v0.4-dual.iso \
|
||||||
-drive file=/path/to/hyper.qcow2,if=virtio \
|
-drive file=/path/to/hyper.qcow2,if=virtio \
|
||||||
-boot c -rtc base=localtime \
|
-boot c -rtc base=localtime \
|
||||||
-device virtio-keyboard-pci \
|
-device virtio-keyboard-pci \
|
||||||
-net nic -net user \
|
-net nic -net user \
|
||||||
-vga virtio \
|
-vga virtio -display none \
|
||||||
-display none \
|
|
||||||
-vnc :0
|
-vnc :0
|
||||||
|
|
||||||
Se puede agregar la opción `-vnc :X` para que QEMU redirija la pantalla VGA a la sesión VNC.
|
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,
|
Sustituya X por el número de la pantalla (0 entonces escuchará en 5900, 1 en 5901,
|
||||||
2 en 5902, etc).
|
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
|
>Advertencia: la configuración predeterminada del servidor VNC no
|
||||||
>utiliza ninguna forma de autenticación. Cualquier usuario puede
|
>utiliza ninguna forma de autenticación. Cualquier usuario puede
|
||||||
>conectarse desde cualquier host.
|
>conectarse desde cualquier host.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user