VM Installation CENTOS7 Install Vmware-tools/mnt/hgfs no file workaround

Source: Internet
Author: User

1. Normal installation Vmware-tools

2. During the installation process, I encountered a prompt for:

Enter the path to the kernel header files for the 3.18.0-kali1-686-pae Kerne?

Workaround:yum-y install kernel-devel upgrade Kernel-devel

3. Mount (Local test environment only shared one folder, multiple not tested)

Mount-t Vmhgfs. host://mnt/hgfs

(Note: Some people say that the name of the shared folder should be added after host, such as Vmhgfs-fuse. Host:/swapdocument/mnt/hgfs swapdocument Command vmware-hgfsclient the printed directory )

If you don't have permissions, you need to switch to the root user

If the error Error:can not mount Filesystem:no such device, enter the following command:

Mount-a Vmhgfs. host://mnt/hgfs

4. Set Boot up

vi/usr/local/scripts/autostart.sh

The contents are as follows

#!/bin/sh

Vmhgfs-fuse. host://mnt/hgfs

Add/usr/local/scripts/autostart.sh to the last line in/etc/rc.d/rc.local

5. Restart



VM Installation CENTOS7 Install Vmware-tools/mnt/hgfs no file workaround

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.