How To Install VMTool In Linux Virtual Machine Hosted In A ESX VMware Server

By | June 22, 2010

How To Install VMTool In Linux Virtual Machine Hosted In A ESX VMware Server

It is very important that you install VMware Tools in the guest operating system.

With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance.

The VMware Tools package provides support required for shared folders and for drag and drop operations.

Other tools in the package support synchronization of time in the guest operating system with time on the host, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host, and improved mouse performance in some guest operating systems.

The installers for VMware Tools for Windows, Linux, FreeBSD, and NetWare guest operating systems are built into VMware Workstation as ISO image files. (An ISO image file looks like a CD-ROM to your guest operating system and even appears as a CD-ROM in Windows Explorer. You do not use an actual CD-ROM to install VMware Tools, nor do you need to download the CD-ROM image or burn a physical CD-ROM of this image file.)

When you choose VM > Install VMware Tools from the VMware Workstation menu, VMware Workstation temporarily connects the virtual machine’s first virtual CD-ROM drive to the ISO image file that contains the VMware Tools installer for your guest operating system and you are ready to begin the installation process.

Steps for Installing VMTool in Linux virtual machine.

  1. Login Esxi server and select the virtual machine.
  2. Open the Console windows and enter the root credential.
  3. Shutdown the Linux virtual machine.
  4. Backup of the virtual machine using snapshot manager.
  5. Label the snapshot.
  6. Select the virtual machines right clicks and choose Edit Settings.
  7. Select CD/DVD drive.
  8. Enable Host Device and select /dev/scd0 (Choose accordingly).
  9. Go to Device status -> check Connected and Connect at power On.
  10. Power On the virtual machine.
  11. Go to inventory -> Guest -> Install/Upgrade VMware Tools
  12. Click Install/Upgrade VMware Tools.
  13. Go to Esxi and Open Operating console.
  14. Enter the root credentials.
  15. Right click desktop and select Terminal console.
  16. Create Mount Point directory using the command “mkdir /mnt/cdrom”
  17. Mount CDRom using the command, “mount /dev/cdrom /mnt/cdrom”.
  18. Type “cd /mnt/cdrom” to change directory and type list command “ls”.
  19. We can see the VMwareTool RPM package with .rpm extension.
  20. Choose  the command for the upgrade/fresh installation,
  • rpm –qa | grep VM  — the command display whether there were any previously installed VMTool.

For up gradation of the Existing VMTool

  • rpm –Uvh VMToo…..rpm  — this command helps to upgrade the VMTool installation.

For  fresh installation of VMTool

  • rpm – ivh VMTool…rpm – this command execute a fresh installation of VMTool.

21. After the installation of VMTool we need to configure the VMTool with the following command,

“ /usr/bin/vmware-config-tools.pl “

22. Choose the appropriate screen resolution.
23. Everything set; we can view the VMTOOL summary status as OK.
24. Unmount CDRom using the command, “umount /dev/cdrom”
25. Reboot the operating system.
26. Everything went normal, remove the backup snapshot.

Reference : Link

Cheers!

Melbin Mathew

Talk2Melbin

http://www.talk2melbin.com

Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More
Category: Linux

About Melbin Mathew

I am Melbin Mathew, Systems Engineer from Kerala, India. I live with my parents, daughter and my wonderful wife. I graduated in 2004 with a bachelor’s degree in Electronics and Hardware from Mahatma Gandhi University, Kottayam and completed certification in MCITP, RHCE, CCNA, VCP ...Read More