Install VMware Tools on Ubuntu Guests
Install The Compiler Tools
You’ll need to install a few packages in order to compile the latest VMware Tools. These steps are done within the Ubuntu virtual guest:
sudo aptitude install build-essential linux-headers-$(uname -r)
Install VMware Tools
Next you need to tell VMware Server that you’d like to install the VMware Tools. This is done by clicking on VM > Install VMware Tools… in the VMware Server menu running on the host. This must be done while the virtual Ubuntu guest is already running.
This will load a virtual CDROM within your virtualized Ubuntu guest. You may see a window pop-up within the guest. You can close this as we’ll be compiling the VMware Tools on the command line.
Open a terminal (Applications > Accessories > Terminal) and use the following commands. It should be safe to copy-paste:
sudo aptitude updatesudo aptitude install build-essential linux-headers-$(uname -r)
cp -a /media/cdrom/VMwareTools* /tmp/
cd /tmp/
tar -vxzf VMwareTools*.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
Simply select all the defaults (press ENTER) at the prompts and before you know it you’ll have VMware Tools installed on the virtual Ubuntu guests. The only prompt I had to make a different selection on in my machines was the video resolution.
note: considering we are compiling the tools for the current running version of the kernel these steps may need to be retaken if the virtualized Ubuntu guest upgrades its kernel.
浙公网安备 33010602011771号