Skip to content

Instantly share code, notes, and snippets.

@brandonsimpson
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonsimpson/02fed21a5366624ad8aa to your computer and use it in GitHub Desktop.
Save brandonsimpson/02fed21a5366624ad8aa to your computer and use it in GitHub Desktop.
Install / Update VMware Tools on CentOS

Install / Update VMware Tools on CentOS

  1. Create yum repo config file

    sudo vi /etc/yum.repos.d/vmware-tools.repo
    

    Add these config settings, and save file.

    [vmware-tools]
    name=VMware Tools for Red Hat / CentOS $releasever – $basearch
    baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/$basearch
    enabled=1
    gpgcheck=1
    gpgkey=http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub
    

    NOTE: The rhel6 path, make sure that corresponds to your version of redhat/centos

    NOTE: enabled flag = 1, which will check this repo during all yum updates. Disable if needed and call manually.

  2. Remove old vmware tools install

    sudo yum remove vmware-tools-core
    sudo yum remove vmware-tools-foundation
    
  3. Install new vmware tools

    sudo yum install vmware-tools-esx-nox
    
  4. Verify service is running

    sudo /etc/vmware-tools/init/vmware-tools-services status
    

vmware-tools-services usage:

Usage: vmware-tools-services {start|stop|status|restart|force-reload}

sudo /etc/vmware-tools/init/vmware-tools-services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment