vmware server2在rehl5的安装问题

首先在官网上下载了 VMware-server-2.0.1-156745.i386.rpm。

 

安装之后运行 /usr/bin/vmware-config.pl,出现了

 

 

None of the pre-built vmmon modules for VMware Server 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] 


What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.18-53.el5/build/include/] 

 

 回车以后运行,出现了错误

 

 

Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmnet.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

 

 解决办法

 

 /etc/init.d/vmware stop
rmmod vmnet

 如果报错 ERROR: Module vmnet is in use,就

 

ps -ef |grep vmnet

 找到占用的进程,然后kill掉再 rmmod vmnet

模块的查看命令是 lsmod.

 

 

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值