大网数据广告活动
服务器运维问答

Is possible to have a vm running linux that require no installation on windows?

· 52CE 我爱测

I want to create a self contained VM that reside in a folder on a windows computer. When running, it requires no installation of VM software; and can run in the background, so I can send from Windows for example, files to be pars…

问题原文

原帖链接 · rataplan · CC BY-SA 4.0

I want to create a self contained VM that reside in a folder on a windows computer.

When running, it requires no installation of VM software; and can run in the background, so I can send from Windows for example, files to be parsed (the idea is to send scripts made in python, c++ or shell script and get back the result after the scripts are compiled and executed)

Is this possible? I am working on a training program where users can learn to program in different languages, and in a totally sealed environment so they won't mess up their machines while experimenting.

The only thing I found are either single board hardware devices, running linux, or VM images that are big (I don't need anything but the compilers for the 3 languages and the base Linux OS) and require you to install VMWare or other similar software.

已采纳解答

原帖链接 · Joffrey · CC BY-SA 4.0

You could use a browser to emulate Linux. There are some distributions that include compilers and executable to interpreted languages like python and perl.

Some examples:

Have fun and happy coding!

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-02-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。