+ -
当前位置:首页 → 问答吧 → [求助]VMware-Player怎么装呢?

[求助]VMware-Player怎么装呢?

时间:2009-09-10

来源:互联网

AUR源里的好像是过期了。官方下载的是rpm,解开是个bundle,执行时提示如图,不知接下来该怎么办了
上传的图像
vmplayer.png (34.7 KB, 27 次查看)

作者: 糊涂   发布时间: 2009-09-10

麻烦看下wiki

作者: jarryson   发布时间: 2009-09-12

jarryson,小心有人骂你装13

作者: qiang_liu8183   发布时间: 2009-09-12

引用:
作者: jarryson
麻烦看下wiki
看了wiki,没结果才发帖提问的。
除了wiki,google也找来一大堆看,自己也不断试。
加上--console参数,观察控制台输出,在安装进程74%处报一堆unicode解码错,进程停滞,如果Ctrl+C的话,安装进程能正常回滚清理并退出;
参考google来的一篇英文帖子,将系统locale改为en_US.UTF-8,上述大量输出的unicode解码错消失,但是安装进程停滞在76%处再也不动了,仍旧是Ctrl+C可以正常回滚退出。
这些wiki里有么?我确实没找到。
最终结果就是:花两小时从头学了Virtualbox,装完把原来的VMware虚拟磁盘导入Virtualbox用。

作者: 糊涂   发布时间: 2009-09-12

vbox3里装2.6.30内核的linux发行版,楼上能正常?
反正我这里是启动不了的,退到2.6.29则很顺利

作者: Havanna   发布时间: 2009-09-12

引用:
作者: Havanna
vbox3里装2.6.30内核的linux发行版,楼上能正常?
反正我这里是启动不了的,退到2.6.29则很顺利
我的情况不是“vbox3里装2.6.30内核的linux发行版”,而是反过来:在“2.6.30内核的linux发行版里装vbox3”

作者: 糊涂   发布时间: 2009-09-12

引用:
作者: 糊涂
我的情况不是“vbox3里装2.6.30内核的linux发行版”,而是反过来:在“2.6.30内核的linux发行版里装vbox3”
呃,倒过来的话,没啥问题的
刚升倒2.6.31也没啥问题

作者: Havanna   发布时间: 2009-09-12

wiki里面:
引用:
Instructions:
Run sudo mkdir -p /etc/rc.d/vmware.d/rc{0,1,2,3,4,5,6}.d to create VMware runlevel directories.
Run sudo ln -s /bin/lsmod /sbin/ to create symlink for lsmod.
Extract VMware server tarball somewhere... i.e. /tmp/.
Run cd /tmp/vmware-server-distrib;sudo ./vmware-install.pl. I used /home/vmware/bin for installation.
When it asks where the directories for rc0.d thru rc6.d are, use /etc/rc.d/vmware.d.
When it asks where the init directory is, use /etc/rc.d.
*QUIT* when it asks you if you want to run VMware configuration for the first time.
Extract VMware server any-to-any patch somewhere... i.e. /tmp/.
Run cd /tmp/vmware-any-any-update*REV*;sudo ./runme.pl. This will patch VMware server modules to allow Linux kernel 2.6.20 compilation.
For Linux 2.6.25 additionally to the previous patch115a or 116 you need to manually patch with 117_Alpha.
For 2.6.25 extract 117 to the location tar xzf vmware-any-any-update-117-very-ALPHA.tgz -C /usr/lib/vmware/modules/source/
For 2.6.25 patch cd /usr/lib/vmware/modules/source/ and run./vmware-2.6.25.sh and continue with next step.
Run cd /home/vmware/bin;sudo ./vmware-config.pl to compile VMware modules.p
你至少可以得到VMware runlevel在哪吧

作者: jarryson   发布时间: 2009-09-13

引用:
作者: Havanna
呃,倒过来的话,没啥问题的
刚升倒2.6.31也没啥问题
Virtualbox已经在正常使用了,这个不是我遇到的问题,暂时不用讨论了。

作者: 糊涂   发布时间: 2009-09-13

引用:
作者: jarryson
wiki里面:你至少可以得到VMware runlevel在哪吧
谢谢回复。我感觉wiki里面描述的是早期版本vmware的安装问题,那个著名的any-any补丁应该是用于vmware6.0或6.5之前版本的.
官方以前可能有tar.gz包下载(记不清了)现在官方只提供rpm和bundle两种包下载。查资料说,bundle包只要给它个可执行属性然后直接运行便可。恐怕再也看不到/vmware-install.pl这个文件了。
以下是我运行bundle的输出,按事先查到的资料,之前先做过
mkdir -p /etc/rc.d/vmware.d/rc{0,1,2,3,4,5,6}.d
引用:
[root@host tmp]# ./VMware-Player-2.5.3-185404.i386.bundle --console --custom
Extracting VMware Installer...done.
System path prefix. Please note that choosing a path other than /usr
may result in missing icons, application launchers, and other desktop
integrations [/usr]:

System lib directory [/usr/lib]:

Architecture-independent files [/usr/share]:

User level binaries [/usr/bin]:

Super user level binaries [/usr/sbin]:

Documentation [/usr/share/doc]:

Manual pages [/usr/share/man]:

Header files [/usr/include]:

System configuration files [/etc]:

System service runlevels [/etc/rc.d]:

System service scripts [/etc/rc.d/init.d]:

Directory path does not exist
System service scripts [/etc/rc.d/init.d]: # =======》运行到这里,又开个终端建了init.d目录。有资料说直接指定/etc/rc.d即可

The product is ready to be installed. Press enter to begin
installation or Ctrl-C to cancel.

Installing VMware Player 2.5.3
Configuring...Traceback (most recent call last):
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/handlers.py", line 73, in emit
if self.shouldRollover(record):
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/handlers.py", line 146, in shouldRollover
msg = "%s\n" % self.format(record)
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/__init__.py", line 421, in format
s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/handlers.py", line 73, in emit
if self.shouldRollover(record):
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/handlers.py", line 146, in shouldRollover
msg = "%s\n" % self.format(record)
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/__init__.py", line 630, in format
return fmt.format(record)
File "/tmp/vmis.sUCDhf/install/vmware-installer/python/lib/logging/__init__.py", line 421, in format
s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 13: ordinal not in range(128)
上面的报错还有N多屏输出。然后安装进程就停在这里了。到现在半个多钟头了,就一直停着。按这几天的安装经历,现在Ctrl+C中断的话,安装过程会正常回滚并正常结束回到命令行提示符。

作者: 糊涂   发布时间: 2009-09-13

中断前面的安装进程,然后分别设:
export LANG=en_US.UTF-8
以及
export LC_ALL=C
(为什么这么做?报错显示跟Unicode解码输出有关,换个locale看能不能绕过去)
这回
两次安装进程都能到100%,不过遗憾的是就停在100%处再也不动了。然后就是Ctrl+C可以正常回滚退出。
下面是最后几行屏幕输出:
引用:
The product is ready to be installed. Press enter to begin
installation or Ctrl-C to cancel.

Installing VMware Player 2.5.3
Configuring...
[######################################################################] 100%
你引用的wiki里说的“when it asks you if you want to run VMware configuration for the first time”在我这儿始终没“when”过!

你是否装过我用的这个版本的vmplayer呢?

作者: 糊涂   发布时间: 2009-09-13

没有装过vmplayer,装了vmware workstation。只是看到你卡在runlevel文件夹这里,wiki里面有说到。

你在System service scripts [/etc/rc.d/init.d]这里为何不写/etc/rc.d/vmware.d

作者: jarryson   发布时间: 2009-09-13