VMWare Tools and shared folder (Shared folders)

Source: Internet
Author: User

Transferred from: http://www.51testing.com/html/38/225738-143732.html

Using the Shared Folders feature under VmwarVMwareBetween host and Ghost file transfer, no network related settings, no network protocol, host and Ghost can be Linux and Windows operating system, here only the host is Windows,ghost is the setting under Linux, If Ghost is windows, refer to VMware Help in setting up shared folders.

1. Install Vmtools for Linux:
Select VMware Workstation Program menu in VM >install VMware Tools ...
To start Linux on the guest computer, execute:
Mkdir/mnt/cdrom
Mount/dev/cdrom/mnt/cdrom (vmtools installation file in VMware Virtual CDROM, first to mount the CD-ROM to find the installation files)
Cd/mnt/cdrom
TAR-ZXVF VMWARETOOLS-5.0.0-12124.I386.TAR.GZ-C/tmp (unzip the installation file to/tmp)
Cd/tmp/vmware-tools-distrib
./vmware-install.pl
(Execute vwware installation script, this script is written in Perl)
Here, the installer asks you a list of issues such as the location of the installation file and the set resolution, and in most cases, installing the default configuration VMware tools will workwork, so here are the default configurations for each question by pressing the ENTER key.
After installation, VMware adds a Vmhgfs module to the kernel, which you can use Lsmod to view

2. Set the directory for the host computer share:
Switch to the Windows desktop in Ghost Computer, select the VMware Workstation Program menu vm>settings>options>shared Folders >properties
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 filled in here will show the same directory name later in Ghost Computer's Linux system), assuming Fc4_iso; in the "Host folder", fill in the host Computer the directory that Windows systems want to share, assume F:\linux-cd\RedHat\Fedora_Core_4\stentz-dvd-i386, and click Finish
The next dialog box is the option to share: Enable This share means that this share is valid for a long time, the directory can read and write, read-only means that this share is long-term valid, the directory is read-only; Disable after this session means the next ghost After the computer is closed or suspended, the share will be invalidated. In general, select the Enable this share and then click "Done"
Since then, the shared folder has been set to complete

Use of the 3.shared folder directory
Switch to Ghost computer's Linux system and execute:
Cd/mnt/hgfs
Ls
You can see the Fc3_iso directory, and you can use commands such as CP to implement Windows to Linux,linux to Windows read and write operations.

4. Precautions
Adding a shared folder or the parameters of a shared folder in the VMware software takes effect immediately, meaning that the newly added shared directory and the changes to the parameters can be seen instantly in the Ghost computer Linux system

Conclusion: Most of the previous use of Ftp,samba or even NFS (which can be done with Microsoft Service for UNIX on Windows) is implemented using VMware's own shared Folder mode is much more convenient than using a network protocol for file transfer, and it is much easier for novice users to copy files with the CP command than with FTP and Smbmount commands.

VMWare Tools and shared folder (Shared folders)

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.