Free VPS Discussion
run a disk image for testing in kvm - Printable Version

+- Free VPS Discussion (//freevps.us)
+-- Forum: Free VPS Discussion (/forum-1.html)
+--- Forum: Help & Support (/forum-2.html)
+--- Thread: run a disk image for testing in kvm (/thread-4611.html)



run a disk image for testing in kvm - ninetailfox97 - 04-13-2012 12:30 PM

i've got one of the vps 15's and i want to test some custom disk imagesi wrote using assembly. would i need to install qemu? kvm? open-vz? xen?


RE: run a disk image for testing in kvm - DeathProxy - 04-13-2012 01:54 PM

You can use ISOs in OpenVZ, so your best bet would be KVM or QEMU.


RE: run a disk image for testing in kvm - ninetailfox97 - 04-13-2012 02:06 PM

is there a way to setup the vnc connection like on the vps 15's?


RE: run a disk image for testing in kvm - DeathProxy - 04-13-2012 02:33 PM

That's probably something that SolusVM set up and manages, but you might be able to find something on google.

EDIT: I just looked it up and it sounds like KVM comes with the VNC thing built-in.
EDIT EDIT: If you don't have a second IP address to assign to the new VPSs, it's really complicated to give them Internet access and stuff like that:
http://www.linux-kvm.org/page/Networking


RE: run a disk image for testing in kvm - aatish910 - 04-13-2012 06:18 PM

You can assign Private IP to VM and then tunnel via SSH to access VNC.


RE: run a disk image for testing in kvm - DeathProxy - 04-14-2012 04:06 AM

You don't need the tunnel to access VNC. You connect to KVM's VNC function by connecting to the host node's IP address and a specific port instead of connecting directly to your VPS.


RE: run a disk image for testing in kvm - f8ll - 04-14-2012 04:10 AM

^That or do some magic with iptables.

If you want to virtualize x86, use kvm. Otherwise use QEMU (its considerably slower). Virtualbox is also an option, but you'll wither need to be running a GUI on your VPS or setup a web interface for it, which will both consume much more memory.
You may be able to ask kiloserve to allow you to use your own images on your VPS, but if you are just testing it and are going to frequently update it, this may be a pain for everyone involved.

If you are just testing you may want to consider trying it out on vmware or something on your home computer.


RE: run a disk image for testing in kvm - DeathProxy - 04-14-2012 04:14 AM

It would be such a hassle to use your own images on your VPS because you'd have to re-upload it every time you make changes and then ask Kiloserve to add it again.


RE: run a disk image for testing in kvm - ninetailfox97 - 04-14-2012 09:46 AM

@f8ll, i've asked before, they were adamant in saying no.

@deathproxy, thanks i'll give the kvm a try.