As we all know, in a virtual machine, Linux and the host machine cannot directly interact with the file system (such as simple file copy and paste functions). The simplest way is to use vmtools In the VM:
Step 1: Go to Ubuntu and click "Install vmtools" in the "networking" status, for example:
Because I have already installed it, reinstall is displayed...
Step 2: After the download is complete, the "Optical Drive" icon will appear on the desktop installed with the root click. Double-click to decompress the file to the TMP Folder:
Step 3: Go to the console:
1. Execute the following command to view a file ending with .tar.gz
2. copy the file to the tmp directory under the root directory and decompress the file.
3. Go to vmware-tools-distrib, you can see the file vmware-tools.pl, run this file:
4. Continue to enter.
Step 4: After vmtools is installed, set the file sharing between the host and the virtual machine:
1. Open the following interface:
2. Add the file directory to which the host needs to be shared to the virtual machine, which is completed according to the Add wizard;
3. After the configuration is complete, the following directory appears in Linux:
Address: http://blog.csdn.net/indexman/article/details/7934227