Before you can install VMware tools in Centos 6, you need to first connect the installation media to your VM by logging into vSphere and doing the following:

  1. locate the server you wish to install VMware-tools into via the Inventory menu;
  2. right click on the server and select “install/upgrade VMware tools” from the “Guest” menu.

Once that is done, you are ready to continue by logging into the server either via SSH or the console. The instructions below differ slightly from some as many advise to copy the installation files to /tmp/. However, when systems have /tmp/ mounted as noexec, it is simply easier to copy the install to /root/ rather than mucking around with the mount permissions.

To install VMware tools in Centos 6, log into SSH or console and enter the following:

mount /dev/cdrom /mnt
cd /mnt
cp VMwareTools-{VersionNumber}.tar.gz  /root/
cd  /root
tar -zxvf VMwareTools-{VersionNumber}.tar.gz
cd vmware-tools-distrib
./vmware-install.pl

You’ll be presented with a number of questions throughout the install process, however for most standard installs it is safe to just click enter through all of these which just selects the defaults presented.

Once the installation is complete, reboot the VM. Upon successful installation and reboot, you should then see “VMware Tools:  Running (Current)” from the summary page of the VM in vSphere.


BizMaC Team!

Bài viết này tốt? 57 Users Found This Useful (181 Votes)