Linux VMware Tools Install

From Braindisconnect
Jump to navigationJump to search

Install Components Needed for VMware Tools

Install the following packages in order to install VMware Tools Successfully.

  • kernel-headers
  • binutils
  • make
  • gcc
  • gcc-c++

Red Hat Enterprise 6

Open a terminal and run the following command:

yum -y install kernel-headers binutils make gcc gcc-c++

SUSE Linux Enterprise Server

Open a terminal and run the following command:

zypper -n install kernel-headers binutils make gcc gcc-c++

Debian Server

Open a terminal and run the following command:

apt-get install linux-headers-$(uname -r) build-essential

Install vmware-tools

Right Click on VM in vCenter, Click Guest, Click Install VMware Tools.

Linux GUI - Get tar package

The CD should auto mount.

Open up a terminal and run the following commands.

Make sure you are in the root home directory:

cd ~

Copy the tool tar package to root's home directory:

cp /media/VMware\ Tools/VMwareTools-<version>.tar.gz ./

Linux CLI - Get tar package

Mount the CD (SUSE and RHEL):

mount /dev/cdrom /mnt

Mount the CD (Debian):

mount /dev/cdrom /media/cdrom

Make sure you are in the root home directory:

cd ~

Copy the tool tar package to root's home directory (SUSE and RHEL):

cp /mnt/VMwareTools-<version>.tar.gz ./

Copy the tool tar package to root's home directory (Ubuntu):

cp /media/cdrom/VMwareTools-<version>.tar.gz ./

VMware Tools Install

In a terminal:
untar and ungzip the package:

tar -zxvf VMwareTools-<version>.tar.gz

change to the new directory created by tar:

cd vmware-tools-distrib

Run the installer with the -d option:

./vmware-install.pl -d

-d option installs to defaults. Once the install is complete, the CD will be ejected

Run the VMware Configuration Utility

If the Configuration Utility did not run, run the following command in a terminal:

vmware-config-tools.pl

Remove the Install Files

Remove the install files and directory. They are not needed after the install.

cd ~
rm VMwareTools-<version>.tar.gz
rm -rf vmware-tools-distrib

Reboot the VM

Reboot the VM to enable all new drivers and settings.

reboot

Verify VMware Tools is Running

Click on the Summary Tab and you should see VMware Tools are Running and Current.