Upgrading VMTools on a Linux OS isn’t as convenient as the Auto-Upgrade for Windows. Each flavor of Linux has their own CLI commands for upgrading VMTools. I have listed a few Distros along with their corresponding CLI Commands.
One note to remember- Most Appliance based VMs have VMTools baked in, and are usually out of date. Upgrading VMTools (or Virtual Hardware for that matter) on these appliances may “break” the VM. I recommend checking with your appliance vendor to see if they have any updates for the appliance, or to verify that VMTools can infact be upgraded.
SUSE LINUX 11
- Mount VMTools installer on VM (Right Click VM and choose Guest – Install VMware Tools)
- Launch YaST | Software | Software Management
- Change Filter to Patterns, and make sure c++ compiler is installed.
-
If the c++ compiler pattern is not available, add the SLES DVD/ISO as a repository
http://www.novell.com/support/kb/doc.php?id=7014489 -
If the c++ pattern is not installed, select it in the list of available patterns and install c++ compiler
-
- Right-click the VMWare guest in the VMWare client, and click Install VMWare tools
- This may also be under a Guest tab after right-clicking on the guest VMWare
- Close YaST
- Type mount /dev/cdrom /media
- Type cp /media/*.tar.gz /tmp
- Type cd /tmp
- Type tar -zxvf VM*.tar.gz
- Type /tmp/vmware-tools-distrib/vmware-install.pl –default
-
Type init 6 to restart the server
-
Type /etc/init.d/vmware-tools status to make sure it is running
-
- Right Click VM – Guest – End VMware Tools Install
REDHAT/CentOS
- Mount VMTools installer on VM (Right Click VM and choose Guest – Install VMware Tools)
- $ yum -y install kernel-devel gcc dracut make perl eject
- $ mount /dev/cdrom /media
- $ tar -zxf /media/VMwareTools-*.tar.gz -C /tmp
- $ /tmp/vmware-tools-distrib/vmware-install.pl –default
- $ rm -rf /tmp/vmware-tools-distrib
- Right Click VM – Guest – End VMware Tools Install
Ubuntu
- Mount VMTools installer on VM (Right Click VM and choose Guest – Install VMware Tools)
- sudo mkdir /mnt/cdrom
- sudo mount /dev/cdrom /mnt/cdrom or sudo mount /dev/sr0 /mnt/cdrom
- ls /mnt/cdrom
- tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/
- cd /tmp/vmware-tools-distrib/
- sudo ./vmware-install.pl -d
- sudo reboot
- Right Click VM – Guest – End VMware Tools Install
*Posts on this site may contain affiliated links*