简体   繁体   English

在Windows上运行Linux虚拟机的建议

[英]Advice for running Linux Virtual Machine on Windows

I have a python application that I am currently operating in Windows (because I need to be able to send TCP commands to a 3rd party Windows application which is running on the same machine). 我有一个当前正在Windows中运行的python应用程序(因为我需要能够将TCP命令发送到在同一台计算机上运行的第三方Windows应用程序)。 However, I want to be able to use libgphoto2, which generally only runs on Linux machines. 但是,我希望能够使用libgphoto2,它通常仅在Linux机器上运行。 Is it possible to set up a virtual machine and run everything from a single computer? 是否可以设置虚拟机并在一台计算机上运行所有内容? My Python scripts can currently be run from either Linux or Windows. 我的Python脚本当前可以从Linux或Windows运行。 An easy way to do this would be to have one computer with Windows which I control over TCP from a secondary computer running Linux...but this means that I will need 2 computers. 一种简单的方法是让一台装有Windows的计算机从运行Linux的辅助计算机上控制TCP ...但是这意味着我将需要两台计算机。

Any advice? 有什么建议吗?

Light solutions, just a Linux compatibility layer: 轻型解决方案,仅是Linux兼容性层:

If it doesn't work, you can resort to a real virtualization, eg VirtualBox. 如果不起作用,则可以求助于真正的虚拟化,例如VirtualBox。

Try VM Player. 尝试VM Player。

Where you can setup linux over windows and communicate between virtual linux and windows host. 您可以在其中通过Windows设置linux并在虚拟linux和Windows主机之间进行通信。

VM Player 虚拟机播放器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM