标题: 安装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.
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]