开发者

Access files on Linux mint VirtualBox guest

I have a Linux virtualbox that I use for development. The stuff I'd like to share to the host operating system resides in /var/www. I tried setting 开发者_如何学JAVAup a samba share, but I can't seem to see my virtualbox on the network. Does anyone know how I'd go about doing this? I searched, but the only thing I've found is virtualbox's shared folders which isn't quite what I'm looking for.


By default VirtualBox networking defaults to an internal NAT implementation, which only allows the guest to access the network and not the other way around.

To access the guest from the host you have to use a different networking mode.

My preferred solution is host-only networking, because the guest appears as a proper networked-machine on the host, without being exposed to the public network.

Bridged networking would also do, but you'd have to secure the guest as if it was a separate machine and there may be networks where having two MAC addresses for a single physical PC is not advised or even allowed.

Why aren't shared folders what you are looking for, anyway?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜