xywuyiba7 发表于 2015-4-10 07:53:15

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下:


[*]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
[*]Power down the VM shutting down Ubuntu
[*]Select your VM in VMware Player and click Edit virtual machine settings
[*]In the Options tab click Shared Folders in the left hand pane
[*] Click Always enabled in the right and pane and click Add…
[*]This will take you into the “Add Shared Folder Wizard”
[*]Click Next and follow the prompts selecting the folder you created in Step 1
[*]Also name the share – this is the name that the folder will have in Ubuntu
[*]You will come back to the Settings screen with your share added
[*]Click OK to close the settings
[*]Play the VM to boot Ubuntu
[*]Shared folders in Ubuntu appear in the location /mnt/hgfs but you probably won’t be able to see it
[*]To check to see if Ubuntu is aware that there is a shared folder available run this command in a terminal window


$vmware-hgfsclient
[*]  This will output the share name into the terminal window, e.g.











$vmware-hgfsclient
WinLinShare
[*]So far so good! Now we need to run the VMWare config tools. In terminal enter


sudo vmware-config-tools.pl
[*]Follow the prompts, accepting the default values
[*]Check to see that your folder is now showing in the /mnt/hgfs directory


$ dir /mnt/hgfs
WinLinShare

页: [1]
查看完整版本: redhat6和ubuntu13.10在WMware player 下与Windows共享文件