If you work much with virtual machines, you know how important installing VMware Tools can be. Even without the graphical interface of Linux (called X11), there are a number of important features that installing VMware Tools offers you and you really shouldn’t skip it. I’ve struggled with installing VMware Tools on Ubuntu Linux in the past, and I hope you find this guide helpful in making it even quicker and easier. It seems newer versions of Ubuntu and VMware Tools broke my previous instructions. Luck for us, VMware and Ubuntu contributors have made the process easier than it was in the past. Read the rest of this entry »
58 Comments »
Important Notice: This post has been updated using a newer, easier method. Read more here.
I’ve had a really hard time trying to find the way to get VMware Tools on Linux virtual machines, but I’ve got it down to just a few steps. If you’re using a ‘big name’ distribution with a graphical interface, it’s not hard to install. But, I like to use Debian or Ubuntu, without X11 (the aforementioned “graphical interface”), so it’s a pain in the butt.
How to install Vmware Tools on Ubuntu without X11:
- Install Ubuntu Server
- Login
- Create a root shell:
sudo bash
- Update your sources:
apt-get update
- Upgrade your installed packages (dist-upgrade to force kernel upgrade):
apt-get dist-upgrade
- Reboot
- Create a root shell again:
sudo bash
- Install packages VMware Tools needs:
apt-get install linux-headers-server build-essential
- Install VMware tools
- Mount the VMware Tools CD ISO:
mount /cdrom
- Copy VMware Tools to home:
cp /cdrom/VmwareTools-x.x.x-xxxxx.tar.gz ~
- Go home:
cd ~
- Untar/Gzip the install:
tar -zxf VmwareTools-x.x.x-xxxxx.tar.gz
- Go into the resulting directory:
cd vmware-tools-distrib
- Start the installer:
./vmware-install.pl
- Install will ask you questions, the defaults should work fine.
- Remove the basic AMD PCnet module (if you get errors about building the ethernet driver, run this command and start at step 14 again):
rmmod pcnet32
- Rebuild module dependancies:
depmod -a
- Install the VMware accelerated network interface:
modprobe vmxnet
- Restart network service:
/etc/init.d/networking restart
- Reboot
40 Comments »