当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [请教]在ubuntu 10.4下安装vmware server 2.0的问题
帖子发表于 : 2011-03-28 23:16 

注册: 2008-09-05 23:39
帖子: 39
送出感谢: 0 次
接收感谢: 0 次
请问论坛没有没有在ubuntu 10.4下安装vmware server 2.0的?
我先是下载了vmware server的tar文件:VMware-server-2.0.1-156745.i386.tar.gz
然后下载了一个脚本文件:vmware-server-2.0.x-kernel-2.6.3x-install.sh
我运行脚本文件时提示:
peter@peter:/Downloads$ sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
./vmware-server-2.0.x-kernel-2.6.3x-install.sh: 1: Syntax error: Unterminated quoted string

运行软件安装程序,最后出现了以下错误:
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config0/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:99:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:32,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/msr.h:4,
from /usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/processor.h:21,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config0/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/msr-index.h:227:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_basic_asm.h:46,
from /tmp/vmware-config0/vmmon-only/./include/rateconv.h:45,
from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:40,
from /tmp/vmware-config0/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:101:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/./include/vm_asm.h:43,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:103:
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-config0/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:119:
/tmp/vmware-config0/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.

不懂这是什么回事,麻烦高手帮分析解决一下,先谢过了。


页首
 用户资料  
 
2 楼 
 文章标题 : Re: [请教]在ubuntu 10.4下安装vmware server 2.0的问题
帖子发表于 : 2011-04-01 14:19 

注册: 2010-06-17 9:36
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
This article is a step-by-step guide of VMware-server 2.0.2 installation on Ubuntu Linux Lucid Lynx 10.04. This guide assumes that a reader already obtained a copy of VMware-server 2.0.2 installation pack along with valid serial number. All commands below are executed as root user. To change to root user use:

$ sudo bash
Environment:

2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
VMware-server-2.0.2-203138.i386.tar.gz
1. Step 1: Install prerequisites
# apt-get install build-essential linux-headers-`uname -r`
2. Step 2: Apply patch to VMware-server-2.0.2
Before we attempt to install VMware-server 2.0.2 on a Ubuntu 10.04 we need to apply patch to VMserver modules and vmware-config.pl file. In this step we will decompress a VMware-server 2.0.2 installation pack and apply this patch. Lte's start by decompressing VMware-server 2.0.2 installation pack VMware-server-2.0.2-203138.i386.tar.gz.

# tar xzf VMware-server-2.0.2-203138.i386.tar.gz
Download patch ( Patch provided by: Ramon de Carvalho Valle ):

# wget http://linuxconfig.org/images/files/vmw ... tch.tar.gz
Decompress patch:

# tar xzf vmware-ubuntu-10.04.patch.tar.gz
First, we apply a patch to all modules:

# cd vmware-server-distrib/lib/modules/source/
# for f in *.tar ; do tar pxf $f ; done
# cd ~/vmware-server-distrib/
patch -p1 < ~/vmware-server2.patch
patching file lib/modules/source/vmci-only/include/pgtbl.h
patching file lib/modules/source/vmnet-only/vnetUserListener.c
patching file lib/modules/source/vmci-only/Makefile
patching file lib/modules/source/vmmon-only/common/vmx86.c
patching file lib/modules/source/vmmon-only/include/compat_cred.h
patching file lib/modules/source/vmmon-only/include/x86svm.h
patching file lib/modules/source/vmmon-only/linux/driver.c
patching file lib/modules/source/vmmon-only/linux/hostif.c
patching file lib/modules/source/vmmon-only/Makefile
patching file lib/modules/source/vmnet-only/Makefile
patching file lib/modules/source/vmnet-only/netif.c
patching file lib/modules/source/vsock-only/Makefile
gzip all modules:

# cd ~/vmware-server-distrib/lib/modules/source/
# for f in vmci vmmon vmnet vsock ; do tar pcf $f.tar $f-only ; done
# rm -fr *-only
Apply patch to vmware-config.pl:

# cd
# patch vmware-server-distrib/bin/vmware-config.pl vmware-config.patch
patching file vmware-server-distrib/bin/vmware-config.pl
3. Step 3: Install VMware-server
At this stage everything is ready for VMware-server installation.When you will be during the vmware-server installation asked:

"Would you like to specify a different administrator?"

answer YES and enter your username. Otherwise root will by and administrator of you VMware-server installation.

# cd ~/vmware-server-distrib/
# ./vmware-install.pl
After successful VMware-server installation you should see:

Enjoy,


页首
 用户资料  
 
3 楼 
 文章标题 : Re: [请教]在ubuntu 10.4下安装vmware server 2.0的问题
帖子发表于 : 2011-04-06 14:30 

注册: 2008-09-05 23:39
帖子: 39
送出感谢: 0 次
接收感谢: 0 次
不解。


页首
 用户资料  
 
4 楼 
 文章标题 : Re: [请教]在ubuntu 10.4下安装vmware server 2.0的问题
帖子发表于 : 2011-04-07 11:02 

注册: 2008-11-20 13:42
帖子: 104
送出感谢: 0 次
接收感谢: 0 次
mark ,thanks.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译