# df -kh
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 16G 3.6G 12G 24% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 2.4G 936K 2.4G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
16G 3.6G 12G 24% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 2.4G 172K 2.4G 1% /tmp
swap 2.4G 40K 2.4G 1% /var/run
/dev/dsk/c1t0d0s3 1.9G 2.2M 1.9G 1% /var/log
/vol/dev/dsk/c0t0d0/vmwaretools
7.8M 7.8M 0K 100% /cdrom/vmwaretools
/hgfs 16G 4.0M 16G 1% /hgfs
/tmp/VMwareDnD 0K 0K 0K 0% /var/run/vmblock
# cd /cdrom/vm*
由于我装完系统之后,系统镜像文件没有退出,导致找不到这个目录,最后关机并退出系统镜像之后才找到并正常安装。
# ls
manifest.txt vmware-solaris-tools.tar.gz
# cp vmwa* /opt
# cd /opt
# ls
SUNWits SUNWmlib staroffice8 vmware-solaris-tools.tar.gz
# gunzip vmware*
# ls
SUNWits SUNWmlib staroffice8 vmware-solaris-tools.tar
# tar xvf vmware*
x vmware-tools-distrib, 0 bytes, 0 tape blocks
x vmware-tools-distrib/bin, 0 bytes, 0 tape blocks
x vmware-tools-distrib/bin/vmware-uninstall-tools.pl, 187799 bytes, 367 tape blocks
x vmware-tools-distrib/bin/vmware-config-tools.pl, 385028 bytes, 753 tape blocks
x vmware-tools-distrib/vmware-install.pl symbolic link to bin/vmware-uninstall-tools.pl
x vmware-tools-distrib/etc, 0 bytes, 0 tape blocks
x vmware-tools-distrib/etc/not_configured, 0 bytes, 0 tape blocks
x vmware-tools-distrib/etc/installer.sh, 27281 bytes, 54 tape blocks
x vmware-tools-distrib/etc/poweron-vm-default, 720 bytes, 2 tape blocks
x vmware-tools-distrib/etc/resume-vm-default, 920 bytes, 2 tape blocks
x vmware-tools-distrib/etc/suspend-vm-default, 1271 bytes, 3 tape blocks
x vmware-tools-distrib/etc/poweroff-vm-default, 721 bytes, 2 tape blocks
x vmware-tools-distrib/etc/manifest.txt, 25 bytes, 1 tape blocks
x vmware-tools-distrib/lib, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/bin, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/bin/i86, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/bin/i86/vmware-toolbox-gtk, 1425499 bytes, 2785 tape blocks
x vmware-tools-distrib/lib/bin/i86/vmware-toolbox, 4577 bytes, 9 tape blocks
x vmware-tools-distrib/lib/bin/i86/vmware-user, 2164566 bytes, 4228 tape blocks
x vmware-tools-distrib/lib/bin/i86/vmware-user-suid-wrapper, 63880 bytes, 125 tape blocks
x vmware-tools-distrib/lib/bin/i86/vmware-user-wrapper, 4570 bytes, 9 tape blocks
x vmware-tools-distrib/lib/bin/amd64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/bin/amd64/vmware-toolbox-gtk, 5300893 bytes, 10354 tape blocks
x vmware-tools-distrib/lib/bin/amd64/vmware-toolbox, 4591 bytes, 9 tape blocks
x vmware-tools-distrib/lib/bin/amd64/vmware-user, 7278392 bytes, 14216 tape blocks
x vmware-tools-distrib/lib/bin/amd64/vmware-user-suid-wrapper symbolic link to ../../bin/i86/vmware-user-suid-wrapper
x vmware-tools-distrib/lib/bin/amd64/vmware-user-wrapper, 4584 bytes, 9 tape blocks
x vmware-tools-distrib/lib/lib, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libglib-1.2.so.0, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libglib-1.2.so.0/COPYRIGHT, 235 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/libglib-1.2.so.0/LICENSE, 26428 bytes, 52 tape blocks
x vmware-tools-distrib/lib/lib/libglib-1.2.so.0/libglib-1.2.so.0, 190632 bytes, 373 tape blocks
x vmware-tools-distrib/lib/lib/libgmodule-1.2.so.0, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libgmodule-1.2.so.0/COPYRIGHT, 238 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/libgmodule-1.2.so.0/LICENSE, 26428 bytes, 52 tape blocks
x vmware-tools-distrib/lib/lib/libgmodule-1.2.so.0/libgmodule-1.2.so.0, 9308 bytes, 19 tape blocks
x vmware-tools-distrib/lib/lib/libgtk-1.2.so.0, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libgtk-1.2.so.0/COPYRIGHT, 234 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/libgtk-1.2.so.0/LICENSE, 26428 bytes, 52 tape blocks
x vmware-tools-distrib/lib/lib/libgtk-1.2.so.0/libgtk-1.2.so.0, 1149676 bytes, 2246 tape blocks
x vmware-tools-distrib/lib/lib/libgdk-1.2.so.0, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libgdk-1.2.so.0/COPYRIGHT, 234 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/libgdk-1.2.so.0/LICENSE, 26428 bytes, 52 tape blocks
x vmware-tools-distrib/lib/lib/libgdk-1.2.so.0/libgdk-1.2.so.0, 215188 bytes, 421 tape blocks
x vmware-tools-distrib/lib/lib/libdnet.so.1, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/libdnet.so.1/COPYRIGHT, 202 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/libdnet.so.1/LICENSE, 1498 bytes, 3 tape blocks
x vmware-tools-distrib/lib/lib/libdnet.so.1/libdnet.so.1, 55563 bytes, 109 tape blocks
x vmware-tools-distrib/lib/lib/amd64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/amd64/libdnet.so.1, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/lib/amd64/libdnet.so.1/COPYRIGHT, 202 bytes, 1 tape blocks
x vmware-tools-distrib/lib/lib/amd64/libdnet.so.1/LICENSE, 1498 bytes, 3 tape blocks
x vmware-tools-distrib/lib/lib/amd64/libdnet.so.1/libdnet.so.1, 75635 bytes, 148 tape blocks
x vmware-tools-distrib/lib/hlp, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/hlp/helpfiles.mk, 1124 bytes, 3 tape blocks
x vmware-tools-distrib/lib/hlp/images, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/hlp/images/blank.gif, 68 bytes, 1 tape blocks
x vmware-tools-distrib/lib/hlp/images/index.gif, 979 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/indexx.gif, 962 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/next.gif, 811 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/nextx.gif, 809 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/prev.gif, 815 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/prevx.gif, 815 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/print.gif, 848 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/toc.gif, 925 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/images/tocx.gif, 914 bytes, 2 tape blocks
x vmware-tools-distrib/lib/hlp/index.htm, 3655 bytes, 8 tape blocks
x vmware-tools-distrib/lib/hlp/ix.htm, 16601 bytes, 33 tape blocks
x vmware-tools-distrib/lib/hlp/toc.htm, 1920 bytes, 4 tape blocks
x vmware-tools-distrib/lib/hlp/tools_about.htm, 1852 bytes, 4 tape blocks
x vmware-tools-distrib/lib/hlp/tools_controlpanel.htm, 8942 bytes, 18 tape blocks
x vmware-tools-distrib/lib/hlp/tools_devices.htm, 7086 bytes, 14 tape blocks
x vmware-tools-distrib/lib/hlp/tools_intro.htm, 19776 bytes, 39 tape blocks
x vmware-tools-distrib/lib/hlp/tools_options.htm, 4093 bytes, 8 tape blocks
x vmware-tools-distrib/lib/hlp/tools_scripts.htm, 18084 bytes, 36 tape blocks
x vmware-tools-distrib/lib/hlp/tools_shrink.htm, 11438 bytes, 23 tape blocks
x vmware-tools-distrib/lib/configurator, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/autostart-vmware-user.sh, 4031 bytes, 8 tape blocks
x vmware-tools-distrib/lib/configurator/XFree86-3, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XFree86-3/XF86Config, 1781 bytes, 4 tape blocks
x vmware-tools-distrib/lib/configurator/XFree86-4, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XFree86-4/XF86Config-4, 3630 bytes, 8 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/6.8.x, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmware_drv.so, 44804 bytes, 88 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/6.8.x/vmmouse_drv.so, 48140 bytes, 95 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.0, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.0/vmware_drv.so, 307912 bytes, 602 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.0/vmmouse_drv.so, 61724 bytes, 121 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1/vmware_drv.so, 56652 bytes, 111 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1/vmmouse_drv.so, 25496 bytes, 50 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1_64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1_64/vmware_drv.so, 62208 bytes, 122 tape blocks
x vmware-tools-distrib/lib/configurator/XOrg/7.1_64/vmmouse_drv.so, 33472 bytes, 66 tape blocks
x vmware-tools-distrib/lib/sbin, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/sbin/i86, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/sbin/i86/vmware-guestd-binary, 1721440 bytes, 3363 tape blocks
x vmware-tools-distrib/lib/sbin/i86/vmware-guestd, 4580 bytes, 9 tape blocks
x vmware-tools-distrib/lib/sbin/i86/vmware-rpctool, 72725 bytes, 143 tape blocks
x vmware-tools-distrib/lib/sbin/i86/vmware-checkvm, 7510 bytes, 15 tape blocks
x vmware-tools-distrib/lib/sbin/i86/vmware-memctld, 8487 bytes, 17 tape blocks
x vmware-tools-distrib/lib/sbin/amd64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/sbin/amd64/vmware-guestd-binary, 6045048 bytes, 11807 tape blocks
x vmware-tools-distrib/lib/sbin/amd64/vmware-guestd, 4594 bytes, 9 tape blocks
x vmware-tools-distrib/lib/sbin/amd64/vmware-rpctool, 260063 bytes, 508 tape blocks
x vmware-tools-distrib/lib/sbin/amd64/vmware-checkvm symbolic link to ../../sbin/i86/vmware-checkvm
x vmware-tools-distrib/lib/sbin/amd64/vmware-memctld symbolic link to ../../sbin/i86/vmware-memctld
x vmware-tools-distrib/lib/modules, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/9, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmmemctl, 14243 bytes, 28 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmmemctl.conf, 106 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmxnet, 17141 bytes, 34 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmhgfs, 40060 bytes, 79 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmhgfs.conf, 92 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/9/vmhgfs-devlink.tab, 57 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/10, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmmemctl, 12933 bytes, 26 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmmemctl.conf, 106 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmxnet, 17045 bytes, 34 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmhgfs, 41089 bytes, 81 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmhgfs.conf, 92 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmhgfs-devlink.tab, 57 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/10/vmblock, 12208 bytes, 24 tape blocks
x vmware-tools-distrib/lib/modules/binary/10_64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/10_64/vmmemctl, 20349 bytes, 40 tape blocks
x vmware-tools-distrib/lib/modules/binary/10_64/vmxnet, 24915 bytes, 49 tape blocks
x vmware-tools-distrib/lib/modules/binary/10_64/vmhgfs, 64869 bytes, 127 tape blocks
x vmware-tools-distrib/lib/modules/binary/10_64/vmblock, 20324 bytes, 40 tape blocks
x vmware-tools-distrib/lib/modules/binary/11, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/11/vmhgfs, 41089 bytes, 81 tape blocks
x vmware-tools-distrib/lib/modules/binary/11/vmhgfs.conf, 92 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/11/vmhgfs-devlink.tab, 57 bytes, 1 tape blocks
x vmware-tools-distrib/lib/modules/binary/11_64, 0 bytes, 0 tape blocks
x vmware-tools-distrib/lib/modules/binary/11_64/vmhgfs, 64901 bytes, 127 tape blocks
x vmware-tools-distrib/doc, 0 bytes, 0 tape blocks
x vmware-tools-distrib/doc/README, 123 bytes, 1 tape blocks
x vmware-tools-distrib/doc/open_source_licenses.txt, 154376 bytes, 302 tape blocks
x vmware-tools-distrib/doc/INSTALL, 2352 bytes, 5 tape blocks
x vmware-tools-distrib/INSTALL symbolic link to ./doc/INSTALL
x vmware-tools-distrib/installer, 0 bytes, 0 tape blocks
x vmware-tools-distrib/installer/services.sh, 29516 bytes, 58 tape blocks
x vmware-tools-distrib/FILES, 11645 bytes, 23 tape blocks
# ls
SUNWits SUNWmlib staroffice8 vmware-solaris-tools.tar vmware-tools-distrib
# cd vmware-t*
# ls
FILES bin etc lib
INSTALL doc installer vmware-install.pl
# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [71G done
Guest memory manager: [71G done
The removal of VMware Tools 7.8.5 build-156735 for Solaris completed
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
What is the directory that contains the init scripts?
[/etc/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
The installation of VMware Tools 7.8.5 build-156735 for Solaris completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [71G done
Guest memory manager: [71G done
Detected X.org version 7.2.0.
Do you want to change the starting screen display size? (yes/no) [no]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [71G done
Guest memory manager: [71G done
Guest operating system daemon: [71G done
The configuration of VMware Tools 7.8.5 build-156735 for Solaris for this
running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
The installed vmxnet driver will be used for all vlance and vmxnet network
devices on this system. Existing vlance devices will transition from the pcn
driver to the vmxnet driver on the next reconfiguration reboot. You will need
to verify your network settings accordingly.
If you have configured a pcn interface, the corresponding files are now renamed
to use the vmxnet device name to ensure the interface will be brought up
properly upon reboot. For example, the following commands were performed:
# mv /etc/hostname.pcn0 /etc/hostname.vmxnet0
# mv /etc/hostname6.pcn0 /etc/hostname6.vmxnet0
# mv /etc/dhcp.pcn0 /etc/dhcp.vmxnet0
and will cause the Solaris Service Management Facility to bring up the first
vmxnetX interface using the configuration of your current pcnX interface.
Enjoy,
--the VMware team