:: Re: [DNG] KVM + QEMU on Devuan 1.0
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Narcis Garcia
Fecha:  
A: dng
Asunto: Re: [DNG] KVM + QEMU on Devuan 1.0
El 29/07/17 a les 19:08, Svante Signell ha escrit:
> On Fri, 2017-07-28 at 12:06 +0200, alberto.senni@??? wrote:
>> Hello,
>>
>> everyone has tried installing and using kvm + qmeu on Devuan 1.0 ?
>
> Yes, several instances. No problem :)
>
> Download:
> wget https://files.devuan.org/devuan_jessie/installer-iso/devuan_jessie
> _1.0.0_amd64_NETINST.iso
>
> Create:
> qemu-img create devuan_jessie_amd64.img 32G
>
> Install:
> qemu-system-x86_64 -cdrom devuan_jessie_1.0.0_amd64_NETINST.iso -hda
> devuan_jessie_amd64.img -boot d -net nic -net user -m 4096 -localtime &
>
> NOTE: add ipv4 to -net, otherwise you'll get the ipv6 address fec0::3
>
> Run:
> qemu-system-x86_64 -enable-kvm -hda devuan_jessie_amd64.img -boot c
> -net nic -net user,ipv4,hostfwd=tcp::5556-:22 -m 1024 -localtime &
>
> Access:
> ssh -p 5556 localhost
> ssh -p 5556 <your external ip address> from outside your host.
>
> You can also use -vnc :0 or 127.0.0.1:0 to access the console:
> gvncviewer localhost:0
> gvncviewer <your external ip address>:0 from outside your host. Be
> careful here!


I suppose you mean Devuan hosting Qemu machines (?)