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

PowerShell: Create Hyper-V Guest VM From Virtual Disk (VHDX)

Part 1: Creating Hyper-V Guest VM From a Virtual Disk # createHyperVGuestVmFromDisk.ps1 # Version 0.02…

Hyper-V: Search for Guest VMs Utilizing Certain Storage Paths

$pathSearch='C:\ClusterShare\RandomFolder' $pathSearch='C:\ProgramData' $allHyperVHosts={(Get-ClusterNode | Where { $_.State –eq "Up" }).Name | %{$_.ToLower()}}.Invoke() $allVms=foreach ($hyperVHost in…

PowerShell: Move Guest VM to Different Cluster in Hyper-V

# Assumptions: # - Guest VM files are stored at a single location # -…