在启动vmware的Solaris虚拟机的时候,vm workstation就提示要我安装vmware tools。
进入系统后,点了那个安装vmware tools的按钮,然后就在Solaris虚拟机的桌面上看到了一个光盘图标,看了下,挂载了一个光盘,实际上这个光盘不存在,呵呵。
进入/cdrom,将里面的一个.tar.gz文件cp到桌面上/Desktop,先用gunzip解压,然后用tar解包,生成了一个"vmware-tool-distrib"的文件夹
进入这个文件夹,执行其中的vmware-install.pl,然后就是一长串的设置,如下:
1: Creating a new VMware Tools installer database using the tar4 format.
2:
3: Installing VMware Tools.
4:
5: In which directory do you want to install the binary files?
6: [/usr/bin]
7:
8: What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
9: [/etc]
10:
11: What is the directory that contains the init scripts?
12: [/etc/init.d]
13:
14: In which directory do you want to install the daemon files?
15: [/usr/sbin]
16:
17: In which directory do you want to install the library files?
18: [/usr/lib/vmware-tools]
19:
20: The path "/usr/lib/vmware-tools" does not exist currently. This program is
21: going to create it, including needed parent directories. Is this what you want?
22: [yes]
23:
24: In which directory do you want to install the documentation files?
25: [/usr/share/doc/vmware-tools]
26:
27: The path "/usr/share/doc/vmware-tools" does not exist currently. This program
28: is going to create it, including needed parent directories. Is this what you
29: want? [yes]
30:
31: The installation of VMware Tools 8.1.4 build-227600 for Solaris completed
32: successfully. You can decide to remove this software from your system at any
33: time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
34:
35: Before running VMware Tools for the first time, you need to configure it by
36: invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
37: this program to invoke the command for you now? [yes]
38:
我是一路按默认配置回车了过去,后面设置了个屏幕分辨率。
1: Please choose one of the following display sizes that X will start with:
2:
3: [1] "640x480"
4: [2]< "800x600"
5: Please enter a number between 1 and 2:
6:
7: [2]
之后大体上就配置完成了。原来也没有我想像的那么复杂啊。
本文转自leipei博客园博客,原文链接:http://www.cnblogs.com/leipei2352/archive/2011/04/02/2003325.html,如需转载请自行联系原作者