Last active
June 15, 2018 17:56
-
-
Save mullnerz/492306cbfb91e9f51ef98aaeb506b8fe to your computer and use it in GitHub Desktop.
Download and install VMware Tools 9.6.6 on Ubuntu 14.04 with older/custom kernel (3.14 tested)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -ex | |
sudo apt-get purge -y "open-vm-*" | |
mkdir -p /tmp/install-vmware-tools && rm -rf /tmp/install-vmware-tools/* && cd /tmp/install-vmware-tools | |
wget https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/6.0.6/2684343/packages/com.vmware.fusion.tools.linux.zip.tar | |
tar -xvf com.vmware.fusion.tools.linux.zip.tar | |
unzip com.vmware.fusion.tools.linux.zip | |
sudo umount /media/cdrom || true | |
sudo mount -o loop payload/linux.iso /media/cdrom/ | |
tar -xvzf /media/cdrom/VMwareTools-9.6.6-2649738.tar.gz -C . | |
cd vmware-tools-distrib/ | |
sudo ./vmware-install.pl --default | |
vmware-checkvm | |
modprobe vmhgfs | |
lsmod | grep vm | |
vmware-hgfsclient | |
mkdir -p /mnt/hgfs/ | |
sudo mount -t vmhgfs .host:/ /mnt/hgfs/ | |
ls -l /mnt/hgfs/ | |
echo "Finished. Enjoy your shared folders! :-)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment