VMware Tools installation in Linux Virtual Machine

In this tutorial we will see, VMware Tools installation in Linux Virtual Machine. We will also know what is the VMware tools and what are benefits of VMware tools in Linux Virtual Machine? So let’s start VMware tools installation step by step.

What is VMware tools?

VMware tools is a suite of utilities that improve the performance of the virtual machine’s guest operating system. VMware tools is also improves management function of the virtual machine.

If we have installed VMware tools in our guest operating system then we can got such types of functionality in our guest Virtual Machine. Like below:-

  • We can get faster graphics performance and Windows Aero on operating systems, which support Aero.
  • Unity feature, which enables an application in a virtual machine to display on the host desktop like any other application window.
  • We can get shared folders features between host and guest operating file systems.
  • We can also perform such types of feature like: – copying and pasting text, graphics, and files between the virtual machine and the host or client desktop.
  • Mouse performance will be improved.
  • Synchronization of the clock in the virtual machine with the clock on the host or client desktop.
  • We can also get scripting features that helps automate guest operating system operations.
  • Guest customization for virtual machines will be enabled

We can also run our guest operating system without VMware Tools, but we cannot get some important functionality and convenience.

In Linux virtual machines, we can manually install or upgrade VMware Tools by using the command line.

Prerequisites

  • Verify that the guest operating system, your guest operating system should be running.
  • First verify that Perl should be installed in the guest operating system, because the VMware Tools installer is written in Perl.

Procedure

Login on your VMware host and select the guest operating system where you want to install VMware tools. Then right click on Linux guest operating systemàGuestàInstall/upgrade VMware tools.

Then you will get one warring windows where we have to click on ok button. Like below:-

Now we have to login our guest operating system. Then we need to mount CD-ROM drive in our virtual machine. We can mount CD-ROM in our virtual machine using below commands.

[root@urclouds ~]# mount /dev/cdrom /mnt
mount: /dev/sr0 is write-protected, mounting read-only
[root@urclouds ~]#

You can see in above commands we have successfully mounted CD-ROM device in /mnt drive. You can verify with df –h commands and check our CD-ROM device has been mounted or not? Like below:-

[root@urclouds ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        50G  1.8G   49G   4% /
devtmpfs        2.9G     0  2.9G   0% /dev
tmpfs           2.9G     0  2.9G   0% /dev/shm
tmpfs           2.9G   25M  2.9G   1% /run
tmpfs           2.9G     0  2.9G   0% /sys/fs/cgroup
/dev/sda5        44G   33M   44G   1% /home
/dev/sda1      1014M  168M  847M  17% /boot
tmpfs           581M     0  581M   0% /run/user/0
/dev/sr0         67M   67M     0 100% /mnt
[root@urclouds ~]#

You can see we have mounted CD-ROM successfully in above output.

Now we have to go to /mnt drive and copy VMware tools tar file into /tmp file.

[root@urclouds ~]# cd /mnt
[root@urclouds mnt]# ls -l
total 67281
-r-xr-xr-x. 1 root root     1970 Nov 28  2014 manifest.txt
-r--r--r--. 1 root root 68893195 Nov 28  2014 VMwareTools-9.0.15-2323214.tar.gz
[root@urclouds mnt]#
[root@urclouds mnt]# cp -rp VMwareTools-9.0.15-2323214.tar.gz /tmp/
[root@urclouds tmp]# cd
[root@urclouds ~]#

After that we need to extract this VMware tools tar file. We can use this below commands to extract this file like below:-

[root@urclouds ~]# tar -xvzf /tmp/VMwareTools-9.0.15-2323214.tar.gz
[root@urclouds ~]#

Now we need to go to /tmp/ vmware-tools-distrib/ directory and run ./vmware-install.pl this command. Like below:-

[root@urclouds ~]# cd /tmp/
[root@urclouds tmp]# ls -l
total 67284
-r--r--r--. 1 root root 68893195 Nov 28  2014 VMwareTools-9.0.15-2323214.tar.gz
drwxr-xr-x. 7 root root      120 Nov 28  2014 vmware-tools-distrib
-rw-------. 1 root root        0 Nov 29 06:08 yum.log
[root@urclouds tmp]#
[root@urclouds tmp]# cd vmware-tools-distrib
[root@urclouds vmware-tools-distrib]# ls -l
total 268
drwxr-xr-x.  2 root root     87 Nov 28  2014 bin
drwxr-xr-x.  2 root root     67 Nov 28  2014 doc
drwxr-xr-x.  4 root root   4096 Nov 28  2014 etc
-rw-r--r--.  1 root root 266589 Nov 28  2014 FILES
lrwxrwxrwx.  1 root root     13 Nov 28  2014 INSTALL -> ./doc/INSTALL
drwxr-xr-x.  2 root root     49 Nov 28  2014 installer
drwxr-xr-x. 14 root root    181 Nov 28  2014 lib
lrwxrwxrwx.  1 root root     31 Nov 28  2014 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@urclouds vmware-tools-distrib]#
[root@urclouds vmware-tools-distrib]# ./vmware-install.pl

Follow the prompts to accept the default values, if appropriate for your configuration. Follow the instructions at the end of the script.

Depending on the features we use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. We can alternatively reboot the guest operating system to accomplish all these tasks.

After that we will see our VMware tools has been successfully installed.

That’s all we have successfully installed VMware Tools in Linux Virtual Machine.

This Post Has 12 Comments

  1. Bo Wilde

    I’m writing to let you understand what a great discovery my cousin’s daughter had browsing your blog. She noticed too many pieces, most notably what it is like to have an amazing coaching nature to let certain people clearly have an understanding of a variety of advanced issues. You actually did more than readers’ expectations. Many thanks for churning out such valuable, dependable, explanatory and even unique thoughts on that topic to Janet.

  2. Free Samples

    As a Newbie, I am always searching online for articles that can benefit me. Thank you

  3. GuQinQu

    Hello, Neat post. There is an issue together with your web site in web explorer, may test this?IE still is the market leader and a good section of other people will pass over your magnificent writing due to this problem.

  4. oprol evorter

    whoah this blog is magnificent i love reading your posts. Keep up the good work! You know, many people are looking around for this information, you can help them greatly.

  5. travelers notebook set

    When some one searches for his essential thing, therefore he/she wants to get available
    that in detail, so that thing is maintained over here.

  6. LoyceGHema

    If some one desires expert view on the topic of blogging afterward i
    propose him/her to pay a quick visit this weblog, Maintain the nice job.

  7. Freebies

    There is perceptibly a bundle to know about this. I think you made certain good points in features also.

  8. Hairstyles

    I do believe that a property foreclosures can have a major effect on the applicant’s life. Foreclosures can have a Seven to 10 years negative effect on a applicant’s credit report. A borrower who has applied for a mortgage or any kind of loans for instance, knows that the worse credit rating is definitely, the more hard it is to acquire a decent financial loan. In addition, it could possibly affect a new borrower’s power to find a quality place to lease or rent, if that turns into the alternative housing solution. Interesting blog post.

  9. Hairstyles

    You need to participate in a contest for one of the best blogs on the web. I’ll recommend this site!

  10. Hairstyles Vip

    At this time it looks like Expression Engine is the preferred blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?

  11. Beauty Fashion

    Someone essentially help to make seriously articles I would state. This is the very first time I frequented your website page and thus far? I surprised with the research you made to make this particular publish amazing. Fantastic job!

  12. cialis for sale online

    Thanks to my father who informed me concerning this website, this blog is truly awesome.

Leave a Reply