Create a shared folder with the Linux virtual machine Ubuntu under Win10 __linux

Source: Internet
Author: User


The following Shared Folders feature enables file transfer in VMware, referencing the setting up shared folders in VMware Help.

1. Install Vmtools for Linux:
Select the VMware Workstation Program menu VM >install VMware Tools ...
Start Ubuntu, execute on Terminal:
Mkdir/mnt/cdrom
Mount/dev/cdrom/mnt/cdrom (vmtools installation files in the VMware virtual CDROM, the first to mount the CD-ROM drive to find the installation files)
Cd/mnt/cdrom
TAR-ZXVF VMWARETOOLS-5.0.0-12124.I386.TAR.GZ-C/tmp (extract the installation files to/tmp), Vmwaretools-5.0.0-12124.i386.tar.gz, the virtual machine is self-contained, different versions are not the same

Cd/tmp/vmware-tools-distrib
./vmware-install.pl
Install the default configuration VMware Tools will work, Ann prompts to enter yes/no. Enter the default configuration, 20 minutes or so.

After the installation, VMware will add a Vmhgfs module into the kernel, you can use the Lsmod view, if not, the establishment of the shared folder will not succeed. However, you can copy the files from the Win7 to the virtual machine, and drag.

2. Set the directory shared under Win7:  
on the virtual machine desktop, select  vm>settings>options>shared Folders in the VMware Workstation program menu >PROPERTIES&NBSP
Click the "Add" button at the bottom right of the dialog box and click "Next"  

Enter the name of the shared directory in the text box "name" (The directory name is filled in after ghost Computer Linux systems will display the same directory name, assuming share, and fill in host folder with directories that the Windows system wants to share in host computer. The next dialog box for

is to choose how to share: The Enable this share means that the share is valid for a long time and the directory is readable and writable; read-only means that the share is valid for a long time and the directory is read only; Disable after this The session mode means that the next time the ghost computer is closed or suspended, the share will expire. Normally select Enable this share then click "Finish"  

from this, the shared folder is set up  


3.shared folder directory usage  
Switch to Ghost Computer Linux system, execute:  
cd/mnt/hgfs 
ls 
You can see the directory of share, and you can implement Windows to Linux with instructions such as CP. Linux to Windows Read and write operation  

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.