In the previous post we discussed What is VMware tools. In this post we will see how to install VMware Tools on Windows and Linux servers.
1. Manually Installing VMware Tools on a Windows Virtual Machine
Power on the virtual machine.
Verify that the guest operating system is running.
Right-click the virtual machine and select Guest OS > Install (or Upgrade) Tools
If you are using vCenter Server and are performing an upgrade or reinstallation, in the Install/Upgrade VMware Tools dialog box, select Interactive Tools Installation or Interactive Tools Upgrade and click OK. The process starts by mounting the VMware Tools virtual disc on the guest operating system.
If you are installing VMware Tools for the first time, click OK on the Install VMware Tools information page. If autorun is enabled for the CD-ROM drive on the guest operating system, the VMware Tools installation wizard starts. If autorun is not enabled, to manually launch the wizard, click Start > Run and enter D:\setup.exe, where D: is your first virtual CD-ROM drive. Use D:\setup64.exe for 64-bit Windows guest operating system.
Follow the on-screen prompts. Once you have installed VMware Tools on your Windows guest, you must restart your system for the configuration changes made to VMware Tools to take effect. In the displayed window click Yes to restart now.
2. Installing VMware Tools in a Linux virtual machine
In the below example we will see how to install VMware Tools in a Linux guest operating system using Red Hat Package Manager (RPM).
To install VMware Tools in a Linux guest operating system using RPM
Ensure that your Linux virtual machine is powered on.
If you are running a GUI interface, open a command shell.
Click VM in the virtual machine menu, then click Guest > Install/Upgrade VMware Tools and click OK.
To create a mount point, run this command: mkdir /mnt/cdrom
To mount the CDROM, run this command: mount /dev/cdrom /mnt/cdrom
To install VMware Tools using RPM, run this command: rpm -ivh /mnt/cdrom/VMwareTools-version.rpm
Where version is the version of VMware Tools you want to install To check the existing version of VMware Tools, use the cd command to go to the /mnt/cdrom/ directory and list the contents of the directory with the command # ls. Note: You can only perform the install as a root user or by using the sudo command. Note: If the contents are compressed, please extract the "VmwareTools-version.tgz".
To configure VMware Tools for your running kernel, run this command: /usr/bin/vmware-config-tools.pl
To unmount the CDROM, run this command: umount /mnt/cdrom
To end the VMware Tools install, click VM in the virtual machine menu, then click Guest > End VMware Tools Install.
That's it for now. For more information on installing VMware tools on other Guest Operating systems please refer this VMware KB.
Thank you for reading!
*** Explore | Share | Grow ***
Comments