1. Use VMware Tools
Sharedfolders is a new feature of vmware4, making it easier to share files between host and guest operating systems. However, you must install VMware Tools before use.
Click setting-> VMware Tools install
Mount/dev/CDROM/mnt/CDROM
CD/mnt/CDROM
There is a VMware Tools tar package, undo the execution of the vmware-tools-install.pl script, a carriage return, generally no problem.
Click Edit-> Virtual Machine settigns-> Option-> sharedfolders-> Add, select the folder to be shared, and name the folder. Next step.
Select enable thisshare. After confirmation, VMWare will automatically mount the folder to the/mnt/HGFS directory.
Possible causes of installation failure include:
GCC and header files (/usr/bin/GCC and/usr/bin/Linux/include) are missing)
2. Use the file sharing Function of Windows
For example, if your windows IP address is 192.168.1.100 and a directory named share is shared, you can run the following command:
Mount-T smbfs // 192.168.1.100/share/mnt-O username = USER % passwd
Or smbmount // 192.168.1.100/share/mnt-O username = USER % passwd (Use this command to install Samba)
3. Use samba
Configure a Samba server in Linux