岁月联盟 · 中国技术网 本站主页 | 安全认证 | 用户服务 | 技术论坛
新闻快报 | 新手学堂 | 黑客特区 | 程序语言 | 数 据 库 | 防 火 墙 | 路由交换 | 系统集成 | 服 务 器 | 存储备份 | 考试认证
Windows | Linux | Java | 协议分析 | 问题解答 | 进程大全 | 网页设计 | 多 媒 体 | 图库资料 | 软件下载 | 站内下载
  您现在的位置: 岁月联盟 >> Linux频道 >> 新手入门 >> Linux安装 >> Linux频道正文
在Ubuntu7.04下安装虚拟机VMware Server
作者:未知 文章来源:本站整理 点击数: 更新时间:2007-12-18 14:50:08

  一、安装依赖包

  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就好(会出现一些警告错误,说有函数在使用前未初始化)


  • 上一个Linux频道:
  • 下一个Linux频道:
  •  
    热门文章
    推荐文章
    关于我们 | 发展历程 | 网站地图 | 广告服务 | 招贤纳士 | 战略合作 | 友情链接 | 著作声明 | 联系我们
    Copyright © 2002-2007 SYUE All rights reserved.
    E_mail:Admin@Syue.Com 皖ICP备05004589号
    未经授权禁止转载、摘编、复制或建立镜像.如有违反,追究法律责任.
    天龙八部私服 传世私服 传奇世界私服 传奇私服 bet365 天龙八部私服 热血江湖私服 英雄合击传奇私服 热血江湖私服 bet365 bet365