VMware Tools on CentOS

Note: This will work on VMware vSphere, Workstation, or Fusion

1.

Open terminal and switch to the root user

su root

2.

Update the VM

yum update

3.

Reboot after the updates have completed

reboot

4.

Log back in, open terminal, and switch back to the root user

su root

5.

Install the GNU Compiler Collection (GCC)

yum install gcc kernel-devel

6.

Mount the VMWare Tools ISO

mkdir /mnt/cdrom 
mount /dev/cdrom /mnt/cdrom

7.

Copy VMware Tools to the hard drive

cp /mnt/cdrom/VMwareTools*.gz /tmp

8.

Navigate to the /tmp folder

cd /tmp

9.

Extract the VMware Tools tarball to /tmp

tar -C /tmp -zxvf VMwareTools*.gz

10.

Drill down into the extracted directory

cd vmware-tools-distrib

11.

Execute the installer

./vmware-install.pl

clip_image002

clip_image004

Failure to install VMware Tools

To solve this issue, remove the /etc/vmware-tools/locationsfile and reinstall VMware Tools.

  1. Open a terminal. For more information, see Opening a command or shell prompt (1003892)
  2. Run the command:

    rm f /etc/vmware-tools/locations

  3. Reinstall VMware tools.

Conclusion

You will be prompted during the installation to choose the preferences for the VMware Tools install. You can go ahead and hit enter for the default settings. 

Once the installation has completed exit the root user. You’ve successfully installed VMware Tools on your CentOS Linux VM.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s