LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 5026|回复: 39

FC5安装VMware全过程(已完成)

[复制链接]
发表于 2006-4-15 11:33:30 | 显示全部楼层 |阅读模式
FC5安装VMware全过程(已完成)
感谢define提供的方法。


首先是安装必要的软件
[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]

(我想大多数的人都卡在了这一步上来了。哈哈,我也是,被玩了三四天了。其实解决的方法非常简单)

[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
 楼主| 发表于 2006-4-15 17:32:20 | 显示全部楼层
这么多人看,就没一个顶的.
服了.
回复 支持 反对

使用道具 举报

发表于 2006-4-15 18:23:05 | 显示全部楼层
[/lib/modules/2.6.16-1.2080_FC5/build/include ??
是选这个吗?以前都是/usr/src/linux/include
linux是kernel2.*.*的连接。
确定能行吗?等会试试?
先顶下!
回复 支持 反对

使用道具 举报

发表于 2006-4-16 13:55:11 | 显示全部楼层
高手啊,写得具体,我去试试.
回复 支持 反对

使用道具 举报

发表于 2006-4-16 16:17:57 | 显示全部楼层
涛声依旧阿,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-16 17:02:34 | 显示全部楼层
仔仔细细的看一遍,只要是问题

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]

就肯定有效。步骤其实不多,跟 代码混在一起不怎么明显而已。
回复 支持 反对

使用道具 举报

发表于 2006-4-16 18:42:54 | 显示全部楼层
Re

既然解决了FC5装vm的问题,楼主何不再接再厉把vm装FC5问题耶解决了:-)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-17 16:44:36 | 显示全部楼层
我已经尽力了.写得这么详细,还有那么多人问这个问题。真是 崩溃啊.
回复 支持 反对

使用道具 举报

发表于 2006-4-17 22:07:45 | 显示全部楼层
先保存下来,有时间再试~
回复 支持 反对

使用道具 举报

发表于 2006-4-18 08:05:26 | 显示全部楼层
一定要升级kernel吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表