Chinaunix

标题: 安装vmware时候的一个问题 [打印本页]

作者: freeyyy    时间: 2004-04-21 19:18
标题: 安装vmware时候的一个问题
我用的系统是RedHat9,内核为2.4.20-8,运行vmware-config.pl时,需要重新编译,结果编译的时候出错,安装不成功!
不知道有没有哪位朋友遇到过这个问题?谢谢
作者: uiibono    时间: 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版本,自动安装相应的驱动,一路确认就可以
作者: freeyyy    时间: 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时就出错了
作者: freeyyy    时间: 2004-04-22 05:43
标题: 安装vmware时候的一个问题
终于被我搞定了,到http://ftp.cvut.cz/vmware/下载vmware-any-any-updateXX.tar.gz,将其解压到任何目录下,执行其中的runme.pl即可。
虽然不知其所以然,但是确实是可以用了。
作者: 好好先生    时间: 2004-04-22 08:08
标题: 安装vmware时候的一个问题
vmware for linux的安装时需要有内核在,如果内核源码在的话,安装很顺利。如果没有的话,可能就要像你那样升级了。
作者: *ly*    时间: 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




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2