"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