Windows and Linux File Sharing in VMware (VMware Tools and Samba)

Source: Internet
Author: User

1. Use VMware Tools
Sharedfolders is a new feature of vmware4, making it easier to share files between host and guest operating systems. However, you must install VMware Tools before use.
Click setting-> VMware Tools install
Mount/dev/CDROM/mnt/CDROM
CD/mnt/CDROM
There is a VMware Tools tar package, undo the execution of the vmware-tools-install.pl script, a carriage return, generally no problem.
Click Edit-> Virtual Machine settigns-> Option-> sharedfolders-> Add, select the folder to be shared, and name the folder. Next step.

Select enable thisshare. After confirmation, VMWare will automatically mount the folder to the/mnt/HGFS directory.

Possible causes of installation failure include:

GCC and header files (/usr/bin/GCC and/usr/bin/Linux/include) are missing)

 

2. Use the file sharing Function of Windows
For example, if your windows IP address is 192.168.1.100 and a directory named share is shared, you can run the following command:
Mount-T smbfs // 192.168.1.100/share/mnt-O username = USER % passwd
Or smbmount // 192.168.1.100/share/mnt-O username = USER % passwd (Use this command to install Samba)

3. Use samba
Configure a Samba server in Linux

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.