redhat6和ubuntu13.10在WMware player 下与Windows共享文件

Redhat下:

点击VMware的 setting -> vmware tools install

mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom
里面有一个vmware tools的tar包,解压执行vmware-tools-install.pl脚本(双击打开,选择  在终端中运行),一路回车,一般没有问题。

点击Edit->Virtual Machine Settigns->Option->SharedFolders

勾选Always Enable

然后点击Add选定要共享的文件夹并给这个文件夹命名,下一步。

选定 “Enable this share”, 确定以后,vmware会把这个文件夹自动mount到/mnt/hgfs目录下。

此时就可以很方便地在宿主机和客户机之间共享数据。

ubuntu13.10下:

    1. Create a folder in your Windows file system that you want to use as the share. Make sure it’s in a location where your user account has full access rights. I’ve created one in My Documents as it will also be backed up by my Mozy Home account
    2. Power down the VM shutting down Ubuntu
    3. Select your VM in VMware Player and click Edit virtual machine settings
    4. In the Options tab click Shared Folders in the left hand pane
    5.  Click Always enabled in the right and pane and click Add…
    6. This will take you into the “Add Shared Folder Wizard”
    7. Click Next and follow the prompts selecting the folder you created in Step 1
    8. Also name the share – this is the name that the folder will have in Ubuntu
    9. You will come back to the Settings screen with your share added
    10. Click OK to close the settings
    11. Play the VM to boot Ubuntu
    12. Shared folders in Ubuntu appear in the location /mnt/hgfs but you probably won’t be able to see it
    13. To check to see if Ubuntu is aware that there is a shared folder available run this command in a terminal window
      $vmware-hgfsclient
    14. This will output the share name into the terminal window, e.g.

       
      $vmware-hgfsclient
      WinLinShare
    15. So far so good! Now we need to run the VMWare config tools. In terminal enter
      sudo vmware-config-tools.pl
    16. Follow the prompts, accepting the default values
    17. Check to see that your folder is now showing in the /mnt/hgfs directory
      $ dir /mnt/hgfs
      WinLinShare

转载于:https://www.cnblogs.com/wahsonleung/p/3230401.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值