Install VMware Tools in Ubuntu Server
When you deploy a Linux server in your VMware environment you also want to install the VMware Tools (I guess). Great news the tools are compatible with Ubuntu Server. First mount the iso (install/upgrade VMware tools) to your virtual machine.
Open a Virtual Machine Console and start executing the following commands:
- sudo apt-get update && apt-get upgrade
- sudo mount /dev/cdrom /media/cdrom
- cp /media/cdrom/VMware*.tar.gz /tmp
- sudo umount /media/cdrom
- cd /tmp
- tar xzvf VMware*.gz
- cd vmware-tools-distrib/
- sudo ./vmware-install.pl
When you get prompts for different answers read them, however it’s almost every time just an enter to continue the installation. The default answers look OK.
When you get the following error: None of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmhgfs module for your system (you need to have a C compiler installed on your system)? [yes]
You can use “enter” however when the c compiler isn’t available use the following commands:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install build-essential
After the installation of the “build-essential” the installation will continue and you can continue to follow the installation and use enter to answer the questions.
Any remarks, retweets or questions are much appreciated.