免费注册 查看新帖 |

Chinaunix

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

[VMware] Ubuntu 7.04下安装虚拟机VMware Server [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-07 10:32 |只看该作者 |倒序浏览

一、安装依赖包
sudo apt-get install libx11-6 libx11-dev libxtst6 xinetd
sudo apt-get install linux-headers-`uname -r` build-essential
二、从
vmware
官方网站下载最新版

vmware-server for
linux
(ver:1.0.2)

http://www.vmware.com/download/server/
记得要注册取得授权号码。
三、解压并安装
tar zxvf VMware-server-1.0.2-39867.tar.gz
cd vmware-server-distrib
sudo vmware-install.pl
可以直接一路默认下去就好,但这不会安装成功,会出现以下错误:
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 错误: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 警告: 在 ‘_syscall1’ 的声明中,类型默认为 ‘int’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "
http://www.vmware.com/download/modules/modules.html
" and
"
http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html
".
Execution aborted.
不要理它!我们去下载patch搞定
四、下载并安装patch包
wget
http://jaws.go2linux.org/archivos/vmware-any-any-update109.tar.gzcd
vmware-any-any-update109sudo ./runme.pl
接下来一路next就好(会出现一些警告错误,说有函数在
使用
前未初始化) 。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/66684/showart_1074707.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP