Workaround for installing VMware Tools and Hgfs but not sharing files in post-installation/mnt

Source: Internet
Author: User
Tags gz file

First, the installation of VMware Tools
Open the virtual machine software and install VMware Tools under the menu bar ' virtual Machine ' submenu

1. Enter Linux as root

2, at this time the Linux/dev/cdrom device mounted to a folder, such as my in/home under a new Folder/tmp, the CDROM mounted to the TMP: MOUNT/DEV/CEROM/HOME/TMP
3, enter the/tmp directory, use the command decompression: Tar zxf vmware-linux-tools.tar.gz file

4. Enter the unpacked folder and use the./vmware-install.pl to start the installation

5. Then just enter, use the default configuration to

6, enter the/usr/bin directory, run./vmware-config-tools.pl


Ii. resolving Hgfs but not sharing files in/mnt after installing VMware Tools

Prerequisite: A shared directory is set up in the virtual machine software

The/mnt/hgfs folder is entered in Linux, but the shared file is not displayed

Use the following method to resolve (Root permission):

1. vmware-hgfsclient command to see which shared directories are currently available, I only use shared folders here

2. Use the mount-t vmhgfs. Host:/shared/mnt/hgfs command to mount the shared folder (Note: Oh, with.), where. Host:/documents is the share name, just replace documents with
Directories obtained using the Vmware-hgfsclient command,/mnt/hgfs is a mount point

3. This is where you can use the shared folder, but every time you have to repeat mount once, you need to set it to automatically mount after random start
Edit/etc/fstab, add the following line
. Host:/shared/mnt/hgfs Vmhgfs Defaults 0 0 (write-on-demand)

Workaround for installing VMware Tools and Hgfs but not sharing files in post-installation/mnt

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.