首先是安裝必要的軟件
[root@netyang ~]# yum -y install gcc gcc-c++ kernel-devel
然后更新kernel
[root@netyang ~]# yum -y update kernel
檢查一下
[root@netyang `]# rpm -qa | grep kernel
kernel-2.6.15-1.2054_FC5
kernel-2.6.16-1.2080_FC5
kernel-devel-2.6.16-1.2080_FC5
下載VMware-any-any-update*(99-101)都可以。VMware-workstation-5.5.1-19175.tar.gz
全部放入/tmp中備用
[root@netyang tmp] tar zxvf VMware-workstation-5.5.1-19175.tar.gz
[root@netyang tmp]#cd vmware-distrib
[root@netyang vmware-distrib]# ls
bin doc etc FILES installer lib man vmware-install.pl
[root@netyang vmware-distrib]# ./vmware-install.pl
Creating a new installer database using the tar3 format.
(中間的一段省略.......)
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
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.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
(我想大多數(shù)的人都卡在了這一步上來了。哈哈,我也是,被玩了三四天了。其實解決的方法非常簡單)
[root@netyang vmware-distrib]#reboot
重啟后看啟動的選擇菜單多出了一項
Fedora Core (2.6.16-1.2080_FC5)
Fedora Core 5 (2.6.15-1.2054_FC5)
選后面是2.6.16j-1.2080_FC5)那一項
[root@netyang ~]#cd /tmp
[root@netyang ~]#tar zxvf vmware-any-any-update101.tar.gz
[root@netyang ~]#cd vmware-any-any-update101
[root@netyang vmware-any-any-update101]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.
(中間一段省略........)
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-1.2080_FC5/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.x.
Using 2.6.x kernel build system.
哈哈,通過完成。其他的都選默認就可以了。
序列號-已驗證可用了
DA925-HP80U-Z8HDC-4WXXP
3KW2W-AYR2C-88M6F-4MDQ2