ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How To Install VMware Tools in CentOS based VMs easily

By Vladan SEGET | Last Updated: December 17, 2018

Shares

This post will teach you How To Install VMware Tools in CentOS. There’s more than one way to install VMware Tools in CentOS VM. I just want to show the way I ended up of using it, there are some commands to remember. So also I wrote this post also for my own need…

CentOS VMs can be found here and there. CentOS is also quite lightweight distribution to start with, if you want to start exploring Linux OS. You can download CentOS Distros from CentOS.org website.  The latest distro is version 6.2 (at the time of this writing).

There are some guidelines before you start actually, like:

Selecting the right Linux Distribution in the Virtual Machine configuration – You can do so already when creating the VM (through the assistant) or you can do it through the options tab > guest operating system.

Initiate the VMware Tools Install – This will present (mount) a correct ISO image to the VM.

You can do it through the menu VM > Guest > Install/upgrade VMware Tools.

Enter the following commands – Then you'll go to the console, log yourself in as a root and enter those commands:

mkdir /media/cdrom

and then

mount /dev/cdrom /media/cdrom

then

cd /tmp

then

tar –xf /media/cdrom/VM*

( if this don't work, add the “z” option to the tar command)

then

cd vm*

then

./vmware-install.pl

Note: the * is the TAB … -:) to complete the file(folder).

Here is the screenshot from the VM's properties. Click to see larger view.

CentOS Virtual Machine Properties - Select the appropriate Linux Distribution

At the end you might want to o clean up the TMP directory. Run this command:

rm -r /tmp/vmware-tools-distrib

That's all.

CentOS With VMware Tools Installed

If you're using VMware Workstation for testing CentOS, you might want to enable the copy – paste between the host and the VM (guest OS) and also enable to sharing files. You do have that options while relying on all of those questions during the installation of VMware Tools. If you installing on VMware vSphere you'll probably won't like to enable that.

Few notes:

  • Options in square brackets are default choices and can be selected by pressing Enter.
  • To compile VMware Tools successfully, you need gcc Compiler and Linux Kernel sources provided by your Linux distribution. Consult your Linux distribution documentation for details on methods to install these packages.
  • It is normal for the console screen to go blank for a short time during the installation when the display size changes. Some warnings or errors are normal, like when a files does not exist.
  • Depending on the Linux distribution, your network service might restart after installation. VMware recommends that you invoke this command from the console and not remotely.

Check more articles from ESX Virtualization:

  • vSphere 6.5
  • How to Configure VMware High Availability (HA) Cluster
  • Free Tools
  • How to Migrate Windows Based vCenter to VCSA 6.5 [Lab] – Windows to Linux
  • VMware VCSA 6.5 Active-Passive Setup with Simple Configuration – [LAB] 
  • VMware vCSA 6.5 HA Failover Test – Video

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: How To Tagged With: CentOS, How-to Install VMware Tools in CentOS, VMware tools CentOS install

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Preetam says

    February 4, 2013 at 1:39 pm

    Small doubt, is Vmware tools package same for all Linux Flavours?

    • Vladan SEGET says

      February 5, 2013 at 7:04 pm

      Not sure about that. I don’t think so that only one package for every single Linux distro supported on vSphere…

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in