In the initial use phase of linux, VMWare or other linux virtual machines are used in Windows. Transferring files between Windows and linux is a problem. This method introduces how to mount a Windows shared folder in linux.
This tutorial is based on win7, VMware9.0.1, and centos6.4.
1. install VMware Tools first (if you have already installed it, you do not need to install it)
(1) Mount VMware Tools
Click VM in the menu bar of the VM, and select settings from the drop-down menu. The following figure is displayed, which is selected in order.
Choose vmware tools in step 1 Browse. five iso files can be found under the VMware Workstation of your installation file. Select the corresponding iso for the system installed in the virtual machine. In this method, select linux. iso. If you are installing a Lite or green version, if you do not have the five iso files, you need to download, download the general address: http://softwareupdate.vmware.com/cds/vmw-desktop/ws (representing the workstation version)/7.1.2 (version) /301548 (version)/windows (or linux) (host operating system type)/packages/tools-windows-8.4.4.exe.tar (installation package name ). You can enter http://softwareupdate.vmware.com/cds/vmw-desktop/ws/in the browser to find a tool that matches your needs. View the version you have installed on the VM's Help-> About VMware Workstation-> Porduct Information. Then, load the downloaded tool in step 1.
After step 3 is completed, a VMware Tools CD will appear on the desktop. then you can double-click the CD on the desktop) or find the installation file you need under/media/VMware Tools.
(2) copy, decompress, and install the installation file.
Copy the files in the desktop CD (mouse operation) or files in cp/media/VMware Tools to any place (copy this article to the desktop), as long as you can find them during installation. Decompress the package and install the package. For more information, see
Install only cd directly into vmware-tools-distrib/execute the wmware-install.pl, in the middle of the select yes or no option to directly enter, the installation takes some time. The INSTALL file in this directory contains detailed installation and uninstall methods.
VMware Tools has been installed.
2. shared folder settings
(1) set shared folders in Windows
Right-click the folder you want to share, and select a user from the shortcut menu.
(2) linux sharing settings
VM-> settings in the VM menu bar. Choose Options> Shared Folders> Always enabled> Add> OK.
3. complete the settings
Then execute the following command. The data folder is the shared folder.
All settings have been completed.