花了一天时间安装vmware tools
首先说明一下软件情况:
vmware workstation 5.5.1
FC7
依照前一篇文章的做法,一步步按照默认的设置下来,出现错误:
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
查看目录/usr/src/ 根本没有linux这个目录
只有/usr/src/redhat
google/baidu解决方案:
1. 用vmware-any-any-update109打补丁
很不幸,下载完后,解压 安装出错
[root@localhost vmware-any-any-update109]# ./runme.pl
Unable to open the installer database /etc/vmware/locations in read-mode.
Execution aborted.
2. 继续google:有人说是kernel-source 没有安装
用RPM命令查看一下
[root@localhost ~]# rpm -q kernel-source
package kernel-source is not installed
....
(接下来便是漫长而痛苦又无用的kernel source 安装过程
不写了--因为在这里是无用功—)
3. 第三种方案是安装kernel devel包
先查看内核版本号
[root@localhost ~]# uname -r
2.6.20-2925.9fc7xen
[root@localhost ~]# r
首先说明一下软件情况:
vmware workstation 5.5.1
FC7
依照前一篇文章的做法,一步步按照默认的设置下来,出现错误:
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
查看目录/usr/src/ 根本没有linux这个目录
只有/usr/src/redhat
google/baidu解决方案:
1. 用vmware-any-any-update109打补丁
很不幸,下载完后,解压 安装出错
[root@localhost vmware-any-any-update109]# ./runme.pl
Unable to open the installer database /etc/vmware/locations in read-mode.
Execution aborted.
2. 继续google:有人说是kernel-source 没有安装
用RPM命令查看一下
[root@localhost ~]# rpm -q kernel-source
package kernel-source is not installed
....
(接下来便是漫长而痛苦又无用的kernel source 安装过程
不写了--因为在这里是无用功—)
3. 第三种方案是安装kernel devel包
先查看内核版本号
[root@localhost ~]# uname -r
2.6.20-2925.9fc7xen
[root@localhost ~]# r