Searching for a valid kernel header path... The path "" is not a valid path to the ***** kernel headers. Would you like to change it? [yes]

在centos 6.5安装vmtools时候,解压包,mount挂载后,安装pl过程中报 这个问题,半天没有解决,google 后发现这样就行了

 

I installed the kernel-devel package, but it turns out that the headers were for a different kernel version than the one that was running on my instance. In order to fix the problem, I ran

sudo yum upgrade

and rebooted, and then vmware-tools installed without a fuss.

 

 

输入 sudo yum upgrade ,之后重启,再次重新安装解决。

 

如果此时没有出现全屏,则将虚拟机的【View】->【Autosize】->【Autofit Guest】,【Autofit Window】都选上。即可实现全屏。

 

另外:如果上不去网,直接用:dhclient -v

posted @ 2016-11-02 10:54  Doyourself!  阅读(555)  评论(0)    收藏  举报