Q. How do I install VMware tools (virtual server tools) in Ubuntu Linux to improve the performance of the guest VPS (VM machine) system?
A. VMWare tools created to fine tune your virtualization. It provides essential performance boost to the guest operating system. You can get faster graphics and mouse performance.
Step # 1 : Boot Ubuntu Linux
Start your Ububtu Linux VM
Step # 2: Install VMware Tools
To Install VMware Tools, select VM Menu > Select Install VMware Tools

Click on Install to Install the tools:

WARNING! These examples should executed using vmware workstation or vmware console only. You are not allowed to install vmware-tools using remote ssh session.Step #3: Install tool from virtual CD-ROM
VMware Workstation / server software will temporarily connect to the virtual machine's first virtual CD-ROM drive to the ISO image file that contains the VMware Tools installer for your guest operating system and you are ready to begin the installation process. Login to your Ubuntu Linux vm and make sure build-essential and kernel header is installed:
$ sudo apt-get install build-essential linux-headers-$(uname -r)
Next, mount cdrom if it is not mouted, enter:
$ sudo mount -a
$ df -H
$ mount | grep -i cdrom
Your virual CD will be at /media/cdrom or /media/cdrom0 directory. Now copy a file called VMwareTools*.tar.gz:
$ cd /tmp
$ cp /media/cdrom0/VMwareTools*.tar.gz .
$ tar -zxvf VMwareTools*.tar.gz
$ cd vmware-tools*
$ sudo ./vmware-install.pl
Now just follow on scree instructions and you should able to install tools. There is not need to reboot VM or anything as vmware-tools will be installed as service at /etc/init.d/vmware-tools.
How do I start / stop / restart vmware tools from vm itself?
Use the command as follows:
$ sudo /etc/init.d/vmware-tools start
$ sudo /etc/init.d/vmware-tools stop
$ sudo /etc/init.d/vmware-tools restart
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 1 comment… read it below or add one }
Vivek,
I’ll try this out on my Ubuntu installation. Thanks for the very helpful article.
Ramesh
The Geek Stuff