Posted On March 31, 2019

Installing VMWare tools

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Installing VMWare tools

Install software needed by VMware Tools

Note: you need to boot the 1-1 kernel from grub for this to work.
  1. Install packages to build the kernel modules
    yum install gcc kernel-devel
  2. Check the running kernel matches the kernel headers
    uname -r # running kernel
    rpm -q kernel-devel # installed kernel headers
  3. If the two versions do not match, run
    yum -y upgrade kernel kernel-devel
    reboot
  4. Find out where the kernel headers are (you may need this later)
    ls -d /usr/src/kernels/$(uname -r)*/include

2. Prepare and install VMware Tools

While running Centos, click on Install VMware Tools, then restart VM client machine
  1. From VMware Workstation: go to VM> Install VMware Tools
  2. From the VM: mount the virtual cd drive
    mount /dev/cdrom /mnt/
  3. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf /mnt/VMwareTools-6.0.4-93057.tar.gz
  4. Unmount the virtual cd drive
    umount /mnt
  5. Now run the installer – from console
    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl
  6. Answer all the questions with yes (click pressing enter 5 times). Enter option 3 when prompted to start X at predefined resolutions
  7. Call vmware tool with this command: /usr/bin/vmware-toolbox

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Kubernetes – Pausing Applications by Scaling Deployments or Stateful Sets

# Pause application kubectl scale deploy nextcloud --replicas=0 kubectl scale statefulsets nextcloud-db-postgresql --replicas=0 kubectl scale…

PowerShell: Find Guest VMs Associated with a Certain Storage Path

# findGuestMvsByStorage.ps1 $storagePath='\\SMBSERVER009' function getAllGuestVms($clusterName){ try{ Import-Module FailoverClusters $clusterName=if($clusterName){ $clustername }else{ (get-cluster).name } $allHyperVHosts={(Get-ClusterNode -Cluster…

AWS Instances Backup

Images: Putty (SSH) into the Image Creator instance in N. Virginia (tetriary Zone) and test…