Thursday , July 24 2014
Home / Solaris 10 / How to install vmware tools on Solaris guest OS

How to install vmware tools on Solaris guest OS

Vmware tools are required to share the directory from base operating system to guest operating system and simply you can drag files from base OS to guest OS to copy the files.Another important feature is cursor release .You no need to press cntrl+alt to release the cursor from guest OS.

Here we will see how to install the vmware tools on the guest operating system.After logging in to guest operating system,select VM->install vmware tools.

By clicking the Install Vmware tools ,CD-ROM will be mounted on your guest operating system with vmware tools files.


Login to Solaris guest OS.
bash-3.00# cd /cdrom/
bash-3.00# ls -lrt
total 5
dr-xr-xr-x 2 root sys 2048 Oct 22 2009 vmwaretools
lrwxrwxrwx 1 root nobody 13 Jul 28 22:24 cdrom0 -> ./vmwaretools
bash-3.00# cd vmwaretools/
bash-3.00# ls -lrt
-r–r–r– 1 root root 19640823 Oct 22 2009 vmware-solaris-tools.tar.gz

Copy the gz file to /var/tmp to extract.
bash-3.00# cp vmware-solaris-tools.tar.gz /var/tmp
bash-3.00# cd /var/tmp
bash-3.00# ls -lrt
-rw-r–r– 1 root root 913 Jul 28 22:19 brerr
drwx—— 2 root root 21 Jul 28 22:24 orbit-root
-r–r–r– 1 root root 19640823 Jul 28 22:24 vmware-solaris-tools.tar.gz

unzip the GZ file.
bash-3.00# gunzip vmware-solaris-tools.tar.gz
bash-3.00# ls -lrt
-rw-r–r– 1 root root 913 Jul 28 22:19 brerr
drwx—— 2 root root 21 Jul 28 22:24 orbit-root
-r–r–r– 1 root root 64634880 Jul 28 22:24 vmware-solaris-tools.tar

Un-tar it
bash-3.00# tar xvf vmware-solaris-tools.tar
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, 210431 bytes, 411 tape blocks
x vmware-tools-distrib/bin/vmware-config-tools.pl, 418020 bytes, 817 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, 27735 bytes, 55 tape blocks
x vmware-tools-distrib/etc/vmware-user.desktop, 330 bytes, 1 tape blocks
x vmware-tools-distrib/etc/poweron-vm-default, 720 bytes, 2 tape blocks
x vmware-tools-distrib/etc/resume-vm-default, 921 bytes, 2 tape blocks
x vmware-tools-distrib/etc/suspend-vm-default, 1271 bytes, 3 tape blocks

Go to the exacted directory 
bash-3.00#cd vmwaretools 
Execute the Perl script for vmware tools installation 
bash-3.00# ./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: done
File /etc/vmware-tools/vmware-user.desktop is backed up to
/etc/vmware-tools/vmware-user.desktop.old.0.
The removal of VMware Tools 8.1.3 build-203739 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 8.1.3 build-203739 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: done
Detected X.org version 7.2.0.
Host resolution detected as “1440 x 900″.
Please choose one of the following display sizes that X will start with:
[1] “640×480″
[2] “800×600″
[3] “1024×768″
[4] “1152×864″
[5]< “1280×800″
Please enter a number between 1 and 5:
[5] 2
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: done
Guest memory manager: done
Guest operating system daemon: done
The configuration of VMware Tools 8.1.3 build-203739 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.
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.

Now you can logoff and login again to utilize the vmware tools feature.



Thank you for reading this article.

Please leave a comment if you have any doubt ,i will get back to you as soon as possible.