免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2132 | 回复: 5
打印 上一主题 下一主题

安装vmware时候的一个问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-21 19:18 |只看该作者 |倒序浏览
我用的系统是RedHat9,内核为2.4.20-8,运行vmware-config.pl时,需要重新编译,结果编译的时候出错,安装不成功!
不知道有没有哪位朋友遇到过这个问题?谢谢

论坛徽章:
0
2 [报告]
发表于 2004-04-21 19:27 |只看该作者

安装vmware时候的一个问题

1、启动vmware,进入vmware里的linux系统里,su成root
2、然后选"setting"-"vmware tools install"的那个选项,会弹出个对话框,按"确定"就行(选这个选项其实是虚拟一张光盘在/dev/cdrom里,这张虚拟光盘里有虚拟驱动)
3、mount /dev/cdrom /mnt/cdrom (将虚拟光盘挂上)
cd /mnt/cdrom
ls
应该会看见一个vmtoolsxxx.tgz,将它拷贝到/tmp目录下,然后
tar zvxf xxx.tgz得到一个名字类似vmtools的目录
4、进入这个目录下,运行./install.pl,一般来说,这个脚本会自动检测出你的linux版本,自动安装相应的驱动,一路确认就可以

论坛徽章:
0
3 [报告]
发表于 2004-04-22 05:01 |只看该作者

安装vmware时候的一个问题

多谢楼上的帮忙
我一运行vmware就出现下面的错误
VMware Workstation Error:
VMware Workstation is installed, but it has not been (correctly) configured for
your running kernel.  To (re-)configure it, your system administrator must find
and run "vmware-config.pl".  For more information, please read file "INSTALL" in the VMware Workstation documentation directory.

Press "Enter" to continue...

然后我就用root来运行vmware-config.pl,然后他就要我编译module,同时确认在机器上有一个
c编译器,接着要我给出C头文件的目录,有一个缺省地址是
/usr/src/linux-2.4.20-8/include,然后就开始编译,vmmon module编译成功,但是在编译vmnet module时就出错了

论坛徽章:
0
4 [报告]
发表于 2004-04-22 05:43 |只看该作者

安装vmware时候的一个问题

终于被我搞定了,到http://ftp.cvut.cz/vmware/下载vmware-any-any-updateXX.tar.gz,将其解压到任何目录下,执行其中的runme.pl即可。
虽然不知其所以然,但是确实是可以用了。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2004-04-22 08:08 |只看该作者

安装vmware时候的一个问题

vmware for linux的安装时需要有内核在,如果内核源码在的话,安装很顺利。如果没有的话,可能就要像你那样升级了。

论坛徽章:
0
6 [报告]
发表于 2005-03-13 11:38 |只看该作者

安装vmware时候的一个问题

请教Mandrakelinux 10.1中安装VMware for linux问题

我在redhat 9中安装VMware4或VMware5都是一路回车就安装好;输入vmware回车就起动了也没出问题;
但在我比较喜欢的mandrakelinux系统中就没那么顺利了;安装vmware4时提示找不到lspci我输入相应的路径“/usr/bin/lspcidrake”通过了,接下来一路回车就出现以下这些信息通不过。
在安装vmware5时没出现找不到lspci以下这些依旧出现。

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. 我确认gcc也安装

What is the location of the directory of C header files that match your running 要什么C头文件
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] /usr/src/linux-2.6.9/include 输入一个下载的内核路径还是不行

The path "/usr/src/linux-2.6.9/include" is an existing directory, but it does
not contain at least one of these directories "linux", "asm", "net" as expected.


What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]


想转入linux环境,现我的机器只装了Mandrakelinux系统,因环境需要还得运行少部分Windows程序,Vmware是最好的解决办法;望linux高手帮帮忙
用的redhat 9 是下载版3CD
  Mandradelinux 10.1 也是下载版 3CD
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP