Centos Virtual Machine sharing folder operation process, centos operation process
CentosShared Folder operation procedure
1. Install VMware Tools
The installation script of VMwareTools uses perl, while CentOS 6 does not contain perl, so you need to install it yourself. You can download the source code and compile it yourself, or use yum to install it directly.
Yum install perl
2. Choose Virtual Machine toolbar> Virtual Machine> install VMware Tools
3. Create a directory (Mkdir), Mount directory (Mount), Copy (Cp), Decompress (Tar.
Mkdir/mnt/cdrom// Create a directory
Mount/dev/cdrom/mnt/cdrom// Mount
Cd/mnt/cdrom// Enter the Mount directory
Mkdir/usr/local/vm-src// Create an installation package storage folder
Cp VMwareTools-10.0.5-3228253.tar.gz/usr/local/vm-src// Copy the installation package in the Mount directory
// To the storage folder
Cd/usr/local/vm-src// Enter the storage folder
Umount/dev/cdrom// Uninstall
Tar zxvf VMwareTools-10.0.5-3228253.tar.gz// Extract
After decompression, enter the (cd) Decompression directory and execute the script (/Vmware-install.pl).
Cd vmware-tools-distrib// Enter the decompressed price
/Vmware-install.pl// Execution File
4. Set shared folders for virtual machines
5. Run the vmware-hgfsclient command to view your shared folder directory. This command is generated after you have installed vmwaretools successfully.
6. Create a folderMkdir/mnt/win
Next/Usr/bin/vmhgfs-fuse. host: // mnt/win-o subtype = vmhgfs-fuse, allow_other
The content in the shared folder is in the share folder in the/mnt/win directory.