CentOS 7 Installation Vmware-tools

Source: Internet
Author: User

"Original" title: "CentOS 7 Installation Vmware-tools"; Shawcher, qq:35360657.

A new CentOS 7 virtual machine is installed with VMware Workstation 11 and the Vmware-tools (version number 9) is installed next.

First encounter a hint, said is already installed Open-vm-tools, to first manually uninstall. Internet a check, as if this open-vm-tools not too support hgfs, so hand unloading. (later check again, like Open-vm-tools support Hgfs, there is a solution, configuration can be, and then try again.) )

Then start the formal installation of Vmware-tools.

Everything goes well until compile hgfs times wrong:

/tmp/modconfig-36lupi/vmhgfs-only/page.c:1649:23:error:too many arguments to function ' wait_on_bit '

task_uninterruptible);

^

On the internet to find https://communities.vmware.com/message/2637447, according to the hints inside, and went to https://communities.vmware.com/message/2637118# 2637118. Find a solution:

1, in the vmware-tools-distrib/directory after decompression, into the lib/modules/source/, decompression Vmhgfs.tar, get vmhgfs-only directory.

2, modify the file vmhgfs-only/page.c: the 1639th line of

#if linux_version_code >= kernel_version (3, 19, 0)

Change into

#if linux_version_code >= kernel_version (3, 10, 0)

Description: Because the kernel version of CentOS 7 is 3.10.0.

3. Re-package the Vmhgfs-only directory as a Mvhgfs.tar.

4. Re-execute the installation script vmware-install.pl.

So the installation was successful. Hgfs functions properly.

The current problem: unity can be used, but not as useful as it used to be. Because the virtual machine desktop is displayed, occupy the host's desktop, the host's taskbar is hidden behind.

CentOS 7 Installation Vmware-tools

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.