virtual-machine - 如何将我的虚拟机共享给其他人?
问题描述
我正在使用 Ubuntu 18.04 虚拟机。我可以在同一台计算机上通过 puTTy SSH 进入这台机器。但是,如何从另一台计算机访问这台机器?或者我是否可以选择将此机器设置为云服务器,以便其他人可以访问和运行它?
解决方案
I think that would all depend on how the networking is configured on your VM.
You can configure the network as bridged (where the VM has it's own dedicated IP address on the local subnet), NAT (where the VM shares the IP with the system running Workstation, but NAT rules can be configured to handle traffic), or host-only (where only the system running Workstation is able to connect to it).
Bridged is probably the easiest to use for your situation.
More information on these networking configs: Common Networking Configurations for Workstation
推荐阅读
- python - 沿 3d 线插入点
- mongodb - 如何使用排序规则使用正则表达式过滤带有重音的单词
- node.js - 在服务器上注销时浏览器未清除 cookie,但会清除 localhost 的 cookie
- excel - 如何将参数传递给 Laravel Excel 的导出文件以进行 DB 查询
- c# - 创建多个 PDF 的问题
- c++ - 如何将 cMessage 类型转换为消息定义类型
- html - 如何根据从另一个相同文本区域的删除突出显示只读文本区域?
- python - 无法在基本 conda env 之外启动 jupyter 服务器
- c++ - 通过 Windows 终端访问 C++ ASCII 代码
- javascript - Selenium/BS4 JS 执行引发“消息:TypeError:arguments[0].setAttribute 不是函数”