安装Vmware Tools出现:
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
---解决办法--
挂载ISO镜像,做yum源
yum install gcc* 安装gcc
yum install kernel-headers-$(uname -r) kernel-devel-$( uname -r) -y 安装kernel-headers,kernel-devel版本跟内核版本一致
----附--
查看软件包是否安装:rpm -qa | grep gcc
查看软件包路径:rpm -ql gcc