OpenSolaris安装vmware-tools

OpenSolaris 2009.06安装vmware-tools(VMware 7.0)根据官方文档中的说法是:

1、
On the host, select VM > Install VMware Tools.
If an earlier version of VMware Tools is installed, the menu item is Update VMware Tools. If the current version is installed, the menu item is Reinstall VMware Tools.
2
3
Usually, the Solaris volume manager vold mounts the CD-ROM under /cdrom/vmwaretools. If the CD-ROM is not mounted, restart the volume manager using the following commands:
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
4
cd /tmp
5
gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -
6
cd vmware-tools-distrib
./vmware-install.pl
Respond to the configuration prompts. Press Enter to accept the default value.
7
exit
但实际情况是,如果按照官方给出的方法会出现错误,因为这个文档针对的是Solaris 10而不是OpenSolaris。
给出正确的安装方法:
1、点击VM→VMware tools,接着打开光盘根目录并解压缩到本地任意位置。(终端操作:gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -)
2、在终端中su并输入密码进入root用户,刚开始以为像Linux那样可以sudo,结果有错误发生,没看清提示什么,急性子直接用su了……此时先不要安装!
3、如果此时直接安装就会出现错误,也就是我所说的如果按照官方文档安装必然出错!出错提示如下:Can not read  /usr/lib/vmware-tools/configurator/XOrg/7.4/vmware_drv.so Execution aborted
4、打开那个XOrg文件夹,发现根本没有7.4这个目录……
5、只能自己建立一个了……接着把7.1的文件复制到7.4中
终端中输入(root权限)
mkdir 7.4
cd 7.1
cp *.* ../7.4/
6、cd到安装程序目录开始安装,成功后reboot
7、ok,tools安装成功,分辨率可调,鼠标可自由移动,不用再ctrl+alt了。不能开启画面效果。

Previous Next

4 Comments (+add yours?)

  1. fathoo
    五 12, 2010 @ 23:10:23

    Firefox 3.6.4 Firefox 3.6.4 Windows 7 Windows 7

    多谢了,我也遇上这种问题

    给评论打分: Thumb up 0 Thumb down 0

    回复

  2. zhiwei
    一 27, 2010 @ 21:05:04

    Google Chrome 4.0.266.0 Google Chrome 4.0.266.0 Windows 7 Windows 7

    你这是。。。开始折腾你的电脑?果然是放假闲得慌啊。。。。 :evil:

    给评论打分: Thumb up 0 Thumb down 0

    回复

    • 婉秋
      一 27, 2010 @ 21:06:09

      Firefox 3.5.7 Firefox 3.5.7 Windows 7 Windows 7

      回复相当快啊,我刚发上去 :wink:

      给评论打分: Thumb up 0 Thumb down 0

      回复

      • zhiwei
        一 27, 2010 @ 21:12:44

        Google Chrome 4.0.266.0 Google Chrome 4.0.266.0 Windows 7 Windows 7

        巧合巧合。。。一打开你的网站就发现了这么一个新文章 :-|

        给评论打分: Thumb up 0 Thumb down 0

        回复

Leave a Reply

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!:

Switch to our mobile site