" id="b1img" alt="米课”N+1“思维建站-非官方免费技术支持,Wordpress/Zencart/Opencart建站、SEO" title="米课”N+1“思维建站-非官方免费技术支持,Wordpress/Zencart/Opencart建站、SEO">
  • " alt="米课”N+1“思维建站-非官方免费技术支持,Wordpress/Zencart/Opencart建站、SEO" title="米课”N+1“思维建站-非官方免费技术支持,Wordpress/Zencart/Opencart建站、SEO" />
  • " alt="Windows/Linux服务器运维技术支持 环境搭建、应用发布、服务器管理、虚拟化、云计算" title="Windows/Linux服务器运维技术支持 环境搭建、应用发布、服务器管理、虚拟化、云计算" />
  • " alt="高校/小型企业网络运维与建设免费技术支持,网络规划、网络优化、故障排除、网络管理" title="高校/小型企业网络运维与建设免费技术支持,网络规划、网络优化、故障排除、网络管理" />

Centos安装vmware tools提示缺少make gcc kernel hearders

系统运维2016-09-07 itlogger阅读(810) 评论(0)

Centos安装vmware tools提示
Before you can compile modules, you need to have the following installed…
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 MAChine?
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

转载请注明 :IT樵客


电子邮件地址不会被公开。 必填项已用*标注