Virtual-machine running from DVD?
I have this application which uses Tomcat and PostgreSQL (only involve database reads, no writes). I need to make this application runnable from a DVD.(target platform is Windows).
So I was thinking to do these:
1) In a VirtualMachine (i prefer virtualbox) install lightweight linux distro.
2) Install Tomcat and Postgre,
3) Write virtualmachine into DVD which loads above virtualmachine image automatically when executed.
But I am not quite sure whether I can do step 3.Or is it possible ?
Note : My users cannot install VM software in their machines.I just give the DVD and they can execute the VM installed inside the DVD.
Can you put a vm image into a DVD?
Can you run the vm whithin (inside) the DVD?
Probably not, because the vm itself will need write permission for RAM files and things like that.
Is it possible ?
Of course, because the VM still needs space to write files (because the guest OS will need to write files even if your application doesn't), you're going to pay a hefty price in memory. Essentially the pieces of the VM that need to be written to must be offloaded to main memory, which reduces the memory available to the rest of the applications you have.