VMware Cloud Community
aiea96701
Enthusiast
Enthusiast

Linux VM and VMTools

I have a Centos Linux VM on vCenter5.0 and ESXi5 host.   How do I install VMTools on this VM?

7 Replies
schepp
Leadership
Leadership

Hey,

you click the normal "Install VMware Tools" Button in vSphere Client. The VMware tools ISO will then be mounted into the CD-ROM.

But it won't mount into the Linux itself.

So you will have to mount it yourself, copy the .tar.gz, untar it and run the vmware-install.pl

For example:

mount /dev/cdrom /mnt/cdrom

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

umount /mnt/cdrom

tar -zxf /tmp/VMwareTools-*.tar.gz -C /tmp

cd /

./tmp/vmware-tools-distrib/vmware-install.pl --default

Tim

aiea96701
Enthusiast
Enthusiast

you mentioned a .tar file to install VMtools.  Where do I get this TAR file?

0 Kudos
schepp
Leadership
Leadership

It's on the ISO that you mount. To get the ISO mounted inside the guest, rightclick the VM in vSphere Client -> Guest -> Install VMware Tools.

After that follow the instructions above.

Borja_Mari
Virtuoso
Virtuoso

Hello,

you can check this vmware's KB about installing the vmware tools in a linux virtual machine:

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1018392&sl...

Best regards,

Pablo

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
ChopChe
Enthusiast
Enthusiast

I have similar issue but my Linux VM is from appliance.  is VMTools on ISO of appliance?

0 Kudos
Borja_Mari
Virtuoso
Virtuoso

Yep,

shouldn't be difference between the way the vmware tools are installed in a normal virtual machine and an appliance.

Check this discussion:

Adding VMware Tools to Virtual Appliances

Best regards,

Pablo

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
aiea96701
Enthusiast
Enthusiast

Unfortunately, in my case....I could not locate the TAR file to expand and install.   I was able to login to the CENTOS VM and login as root and mount the CDROM but never could find the TAR file.   Is it downloadable?  Since this is a virtual appliance, could it be that the VMTools did not come with it.   I have no ISO file ...only OVA.

0 Kudos