Shared folder with Win7 under VMware Ubuntu

  Before using the Linux environment, I used Fodera + VMware. Personally, I feel that it is easier to use, and it is easier to use than Red Hat or the later N versions. For various reasons, it is now necessary to use the Ubuntu + VMware environment, which involves the sharing of Windows and Ubuntu. I have tried a variety of methods and it works, refer to " Win7 and VMware ubuntu virtual machine to achieve file sharing (the open-vm-dkms plug-in must be installed at the end) ". The following summarizes:

    1. Follow VMtools.
    Start the Ubuntu system, in the VMware virtual machine interface, click VM->Install VMware Tools, click the main file button in the Ubuntu window, and then you will see the VMware tools folder on the left side of the device, double-click it, and unzip the compressed file, put It is copied to the home folder. Open Terminal, go to the unzipped folder, and enter the following command:
           a) sudo tar zxf VMwareTools-xxx.tar.gz (Note: xxx is the version number)
           b) cd /vmware-tools-distrib
           c) sudo ./vmware-install.pl
  During the installation process, press enter all the time, or enter [] to prompt yes and no until the installation is complete.
  If you can't figure it out, you can use Baidu or Google.
 
    2. Set the shared folder directory
        1. Power off Ubuntu, otherwise you cannot add shared folders
        2. In the VMware virtual machine window, select VM->Settings->Options->Shared Folders
        3. Click Add on the right, click Next->Select the path of the Win7 shared directory, then click Next->Select Enable this share->Finish
        4. On the right side of the VM->Settings->Options->Shared Folders window, select Always enabled in the Folder sharing column
        5. Click OK to exit
        But it's not done here, a little bit to go to the third step to complete the file sharing.
 
    3. Install the plugin under the Ubuntu virtual machine
        1. Execute sudo apt-get install open-vm-dkms (Note: If you have installed it, you do not need to execute this line in the future)
        2. Execute sudo mount -t vmhgfs .host:/ /mnt/hgfs
        3. cd /mnt/hgfs

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326930400&siteId=291194637