Skip to content

Instantly share code, notes, and snippets.

@neutrinoguy
Created March 31, 2019 12:54
Show Gist options
  • Save neutrinoguy/6db155a7f48b1890570dd9c3ab4a44b4 to your computer and use it in GitHub Desktop.
Save neutrinoguy/6db155a7f48b1890570dd9c3ab4a44b4 to your computer and use it in GitHub Desktop.
Tiny dirty script to install VMware tools on Ubuntu/Debian desktops/servers.
#!/bin/bash
echo "This will install VMWare tools. First of all Click on VM > Install/Re-install VMWare tools."
sleep 10
echo "Installing dependencies."
sudo apt install gcc binutils make -y
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom/
tar xzvf /mnt/cdrom/VMwareTools-* -C /tmp/
cd /tmp/vmware-tools-distrib/
sudo ./vmware-install.pl -d
echo "Rebooting Server..."
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment