Centos Virtual Machine sharing folder operation process, centos operation process

Source: Internet
Author: User
Tags install perl

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.

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.