Installing VMware Tools in a Solaris guest operating system.
1. Download the ISO image and attach to the VM.
2. Login to Solaris VM, copy the vmware-solaris-tools.tar.gz file from /cdrom/vmwaretools to a /var/tmp
3. Extract the contents of the tar file
# tar xzvf vmware-solaris-tools.tar
4. Install the VMware Tools
# cd vmware-tools-distrib
# ./vmware-install.pl
5. Press Enter to accept all of the default values.
6. Reboot the virtual machine for the changes to take effect.
12.Verify VMware tools service is running
# /etc/init.d/vmware-tools status
vmtoolsd is running
root@sopc-sp-v01:~# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 285,1 8 8388600 8388600
root@sopc-sp-v01:~# zfs get all | grep swap
root@sopc-sp-v01:~# zfs get volsize rpool/swap
NAME PROPERTY VALUE SOURCE
rpool/swap volsize 4G local
root@sopc-sp-v01:~# zfs set volsize=16G rpool/swap
zoned off default
root@sopc-sp-v01:~# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 285,1 8 8388600 8388600
/dev/zvol/dsk/rpool/swap 285,1 8388616 25165816 25165816
root@sopc-sp-v01:/media/VMware Tools# mkdir /var/tmp/VmTools
root@sopc-sp-v01:/media/VMware Tools# cp -r * /var/tmp/VmTools/
root@sopc-sp-v01:/media/VMware Tools# du -sh *
0K manifest.txt
16M vmware-solaris-tools.tar.gz
root@sopc-sp-v01:/media/VMware Tools# cd /var/tmp/VmTools
root@sopc-sp-v01:/var/tmp/VmTools# ls
manifest.txt vmware-solaris-tools.tar.gz
root@sopc-sp-v01:/var/tmp/VmTools# tar -xzvf vmware-solaris-tools.tar.gz
root@sopc-sp-v01:/var/tmp/VmTools# ls
manifest.txt vmware-solaris-tools.tar.gz vmware-tools-distrib
root@sopc-sp-v01:/var/tmp/VmTools# cd vmware-tools-distrib/
root@sopc-sp-v01:/var/tmp/VmTools/vmware-tools-distrib# ls
bin etc INSTALL lib
doc FILES installer vmware-install.pl
root@sopc-sp-v01:/var/tmp/VmTools/vmware-tools-distrib# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
INPUT: [/etc] default
What is the directory that contains the init scripts?
[/etc/init.d]
INPUT: [/etc/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin]
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
INPUT: [/usr/lib/vmware-tools] default
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]
INPUT: [yes] default
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default
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]
INPUT: [yes] default
The installation of VMware Tools 10.2.5 build-8068406 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]
INPUT: [yes] default
Initializing...
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [no]
INPUT: [no] default
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[no]
INPUT: [no] default
svcprop: Pattern 'application/x11/x11-server' doesn't match any entities
No supported X install found.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest memory manager: done
Guest operating system daemon: done
The configuration of VMware Tools 10.2.5 build-8068406 for Solaris for this
running kernel completed successfully.
svcprop: Pattern 'application/x11/x11-server' doesn't match any entities
You must restart your X session before any mouse or graphics changes take
effect.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/dsk/c1t0d0s2 ...
root@sopc-sp-v01:/var/tmp/VmTools/vmware-tools-distrib# /etc/init.d/vmware-tools status
vmtoolsd is running
root@sopc-sp-v01:/var/tmp/VmTools/vmware-tools-distrib#
No comments:
Post a Comment