The VMware Tools package adds drivers and utilities to improve the graphical performance for different guest operating systems, including mouse tracking. The package also enables some integration between the guest and host systems, including shared folders, plug-and-play devices, clock synchronisation, and cutting-and-pasting across environments.
Note. When installing VMware tools on wheezy running older versions of VMware ESX/ESXi you may have some issues because of missing modules. This may be fixed with patches but another option would be to use open-vm-tools as an alternative. Here's a tutorial on how to install open-vm-tools: How to install Open Virtual Machine Tools (open-vm-tools) on squeeze/wheezy
1. Install kernel headers and tools required to compile and install VMware tools:
apt-get install binutils cpp gcc make psmisc linux-headers-$(uname -r)
2. Mount the cdrom drive inside the guest server. Make sure you have mounted the VMware tools virtual cd from the host before moving on.
mount /dev/cdrom /mnt/
3. Extract VMware tools to the tmp directory:
tar -C /tmp -zxvf /mnt/VMwareTools-x.x.x-x.tar.gz
The filename depends on the host version.
4. We have already extracted the files to a temporary locations and the virtual disk isn't needed anymore. Unmount the virtual cd:
5. Start the installation:
Accept the defaults for every question. Make sure you're located inside the vmware-tools-distrib folder when executing the vmware-install.pl script or the installation may fail.
VMware tools is now installed and configured. If you're using X you may need to restart the machine or the X session to get all features working.