Skip to content

Instantly share code, notes, and snippets.

@nacengineer
Last active August 29, 2015 13:57
Show Gist options
  • Save nacengineer/f29363367b6078f6eb6f to your computer and use it in GitHub Desktop.
Save nacengineer/f29363367b6078f6eb6f to your computer and use it in GitHub Desktop.
Fix the Linux Headers for install of VMWare Sphere Virtual Tools

Ensure Headers are Installed

sudo apt-get update && sudo apt-get install build-essential linux-headers-$(uname -r)

Symlink Headers

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

Mount VM Guest Additions in vSphere

make sure /mnt/cdrom folder exists

mount CD ROM

mkdir /mnt/cdrom && mount /dev/cdrom /mnt/cdrom

Copy file over and unzip

cd /tmp
cp /mnt/cdrom/V(tab-complete) ./
tar zxvf V(tab-complete)
cd vm(tab-complete)
./vm(tab-complete)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment