CentOS virtual machine and physical machine shared folder

Source: Internet
Author: User
Tags mkdir install perl

CentOS virtual machine and Physical machine shared folder implementation process.

First, install VMware Tools

The Vmwaretools installation script is to be used in Perl, and CentOS 6 does not have Perl itself, so it needs to be installed on its own. You can download the source code to compile yourself, or you can install it directly with Yum.

Yum Install Perl

2, Virtual machine toolbar-"virtual machine-" Install VMware Tools

3, the new directory (mkdir), Mount directory (Mount), replication (CP), decompression (tar) and other operations.

mkdir/mnt/cdrom //CREATE TABLE of Contents

mount/dev/cdrom/mnt/cdrom //Mount

Cd/mnt/cdrom //into Mount directory

mkdir/usr/local/vm-src //Create installation Package storage folder

CP vmwaretools-10.0.5-3228253.tar.gz/usr/local/vm-src //copy of installation package in Mount Directory

To the storage folder

cd/usr/local/vm-src //into the storage folder

umount/dev/cdrom //Uninstall

tar zxvf vmwaretools-10.0.5-3228253.tar.gz /Decompression

After decompression is to enter (CD) extract directory, execute script (./vmware-install.pl).

CD Vmware-tools-distrib //Enter decompression asking price

./vmware-install.pl //Executive Documentation

4, Virtual machine settings shared folder

5, with the vmware-hgfsclient command can see your shared folder directory, this command is you installed vmwaretools after the success of the generated (verify the following are correct)

6, new folder Mkdir/mnt/win

Then /usr/bin/vmhgfs-fuse host://mnt/win-o subtype=vmhgfs-fuse,allow_other.

Related Article

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.