"Go" Win7 file sharing with VMware Ubuntu virtual machine (open-vm-dkms plugin must be installed finally)

Source: Internet
Author: User

Original URL: http://blog.sina.com.cn/s/blog_453b9efb01019hpl.html

In general, due to special needs, virtual machines (VMware) are installed in the Win7 system to install Ubuntu virtual environments so that two systems can be used simultaneously without rebooting. But want to put in the virtual machine Ubuntu editing files can be used at the same time by the program in the Win7, but do not want to use the two systems of QQ or USB stick, you need to be able to file in the virtual machine and Win7 (here to Win7 as an example, WinXP operation) under the realization of mutual transmission. One way to do this is through VMware's shared folders to implement the file transfer of Ubuntu and Win7 for virtual machines.

The first step: Start Ubuntu 12.04 (other versions of Ubuntu operation almost)      1. In the VMware virtual machine interface, point to Vm->install VMware Tools. After that, click the main file button in the Ubuntu window and then on the left you will see the VMware Tools folder in the device, double-click it and unzip the compressed file, and copy it to the home folder     2. Open the terminal terminal, enter the unpacked folder, and enter the following command:            a) sudo tar zxf vmwaretools-xxx.tar.gz (Note: XXX is version number)            b) CD/ VMWARE-TOOLS-DISTRIB           C) sudo./ vmware-install.pl         press Enter during installation, or enter the prompt for Yes and no until the installation is complete.     3. View Results:            lsmod | grep vmblock  Step Two: Set the directory         1 for the shared folder. Turn Ubuntu off (power off), or you cannot add a shared folder         2. In the VMware Virtual machine window, select Vm->settings->options->shared folders      &Nbsp; 3. Point to the right of Add, point next-> Select the path to the Win7 shared directory, and then click Next-> to 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 bar.     5. Click OK to exit   but not yet done here, a third step to complete file sharing.   Step three: Install the plugin         1 under Ubuntu virtual machine. Execute the sudo apt-get install open-vm-dkms (Note: This line will not be executed in the future if installed)         2. Execute sudo mount-t vmhgfs. host://mnt/hgfs        3. cd/mnt/hgfs  can now see Win7 's shared folder directory under the/mnt/hgfs directory. Modifying files in a shared folder, whether in Linux or under Win7, will be modified at the same time on another system.

"Go" Win7 file sharing with VMware Ubuntu virtual machine (open-vm-dkms plug-in must be installed finally)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.