我启用了运行Ubuntu 9.04的虚拟机上的“共享文件夹”function。 我如何从Ubuntu客户操作系统访问这个?
我的主机操作系统是Windows Vista家庭高级版SP2。
注意:我已经通过映射//.host/shared文件夹为Windows 7 RC(客户操作系统)启用了“共享文件夹”。
您需要安装VMware Tools。 一旦你完成了,并且加载了hgfs内核模块,你应该可以访问/ mnt / hgfs /
您需要安装vmware-tools,这在9.04中有问题。 检查: http : //communities.vmware.com/thread/208507
这应该有所帮助:
在你的窗口上创build共享文件夹
在windows上为你的linux创build一个帐户
添加你的Windows的IP在你的Linux主机文件
然后以su –
最后挂载共享文件夹:
mount -t smbfs -o username=<Windows system user account>,password=<password> //YourComputer/YourShareFolder /mnt/YourShareFolder
还有另一种方法(可能更容易)
先备份你的conf文件:
cp /etc/smb.conf /etc/smb.conf.backup
然后通过添加到最后编辑smd conf:
[SHARE_NAME]
path= /家庭/用户/共享
public = no
可写=是
打印=否(因为你想共享文件,而不是打印机)
然后重新启动你的smb服务:
/etc/init.d/smb restart
这两种方式对我来说都很好。
希望这会帮助你。