美文网首页
VMware Tools 工具安装及文件共享设置

VMware Tools 工具安装及文件共享设置

作者: 赛亚人之神 | 来源:发表于2019-04-24 10:11 被阅读0次

https://www.linuxidc.com/Linux/2017-04/142897.htm

遇到的问题:
Centos安装vmware tools提示

Before you can compile modules, you need to have the following installed…
make
gcc
kernel headers of the running kernel

Searching for GCC…
the path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your [MAC](http://www.itlogger.com/network/458.html "MAC")hine?
Searching for a valid kernel header path…
The path “” is not valid.
Would you like to change it? [yes]
What is the location of the directory of C header files that match your running kernel?

解决方法

1. Update the kernel: 
$ yum update kernel -y
2. Install the kernel-headers, kernel-devel and other required packages:

$ yum install kernel-headers kernel-devel gcc make -y

3. Reboot the server to make sure it load to the new kernel:
$ init 6
4.重新安装vmware tools

相关文章

网友评论

      本文标题:VMware Tools 工具安装及文件共享设置

      本文链接:https://www.haomeiwen.com/subject/cyswgqtx.html