开发者

Virtual-machine running from DVD? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_如何学C

This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

Closed 5 years ago.

Improve this question

Greetings all,

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.

Any tips?


Can you put a vm image into a DVD?

Yes

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 ?

Sure. This approach is similar to what live CDs do, and a number of VM servers support this natively with no extra work on your part (e.g., VMWare GSX).

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜