因为FC6默认不安装内核源码开发包,所以我们要下载并安装它
1)安装vmware
2)查询内核版本
[root@localhost vmware]# uname -a
2.6.18-1.2798.fc6 #1 SMP i686 i686 i386 GNU/Linux
3)检查(如果没有就)去http://www.linuxsir.org/bbs/showthread.php?t=280919下载内核开发包
#rpm -qa | grep kernel
kernel-2.6.18-1.2798.fc6
kernel-headers-2.6.18-1.2798.fc6
kernel-devel-2.6.18-1.2849.fc6
4)如果未安装则安装用rpm -ivh 安装以上内核开发包
# rpm -ivh kernel-2.6.18-1.2798.fc6 (应已经安装,如果未安装,我使用这个内核)
# rpm -ivh kernel-headers-2.6.18-1.2798.fc6
# rpm -ivh kernel-devel-2.6.18-1.2849.fc6
5)下载vmware-any-any-update104.tar.gz
解包后运行./runme.pl
(
否则出现下面错误
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /lib/modules/2.6.18-1.2798.fc6/build/include
The kernel defined by this directory of header files does not have the same address space size as your running kernel
)
然后一路回车或自行配置.......... [OK]
6) 运行 $ vmware 呵呵,应能正常启动了.