LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1631|回复: 11

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

[复制链接]
发表于 2009-9-10 12:26:15 | 显示全部楼层 |阅读模式
AUR源里的好像是过期了。官方下载的是rpm,解开是个bundle,执行时提示如图,不知接下来该怎么办了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-9-12 02:56:05 | 显示全部楼层
麻烦看下wiki
回复 支持 反对

使用道具 举报

发表于 2009-9-12 11:29:50 | 显示全部楼层
jarryson,小心有人骂你装13  
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-12 15:16:35 | 显示全部楼层
Post by jarryson;2026142
麻烦看下wiki

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

使用道具 举报

发表于 2009-9-12 15:33:53 | 显示全部楼层
vbox3里装2.6.30内核的linux发行版,楼上能正常?
反正我这里是启动不了的,退到2.6.29则很顺利
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-12 16:58:47 | 显示全部楼层
Post by Havanna;2026289
vbox3里装2.6.30内核的linux发行版,楼上能正常?
反正我这里是启动不了的,退到2.6.29则很顺利

我的情况不是“vbox3里装2.6.30内核的linux发行版”,而是反过来:在“2.6.30内核的linux发行版里装vbox3”
回复 支持 反对

使用道具 举报

发表于 2009-9-12 18:59:39 | 显示全部楼层
Post by 糊涂;2026318
我的情况不是“vbox3里装2.6.30内核的linux发行版”,而是反过来:在“2.6.30内核的linux发行版里装vbox3”


呃,倒过来的话,没啥问题的
刚升倒2.6.31也没啥问题
回复 支持 反对

使用道具 举报

发表于 2009-9-12 20:23:51 | 显示全部楼层
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在哪吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-12 22:34:53 | 显示全部楼层
Post by Havanna;2026354
呃,倒过来的话,没啥问题的
刚升倒2.6.31也没啥问题

Virtualbox已经在正常使用了,这个不是我遇到的问题,暂时不用讨论了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-12 23:13:18 | 显示全部楼层
Post by jarryson;2026372
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中断的话,安装过程会正常回滚并正常结束回到命令行提示符。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表