Linux.com

Home Linux Community Community Blogs General Linux Installing VMware Tools on Debian Squeeze GuestOS

Installing VMware Tools on Debian Squeeze GuestOS

Hi all,
thought I would put down the steps I had to go through to get the VM Tools for ESXi to work on my latest Debian Squeeze deployments, as by default ESXi doesnt recognise the OS as a Debian distro, I initially posted this in the forums.itrc.hp.com site and my own blog, but figured I would put it here too.


Ok, here goes, on your Debian Squeeze guest:
apt-get install make
apt-get install gcc
apt-get install libc-dev
uname -a and find out what your kernel version is then apt-get install the relevant kernel headers as follows…
apt-get install linux-headers-2.6.32-5-686

(All of the above apt-gets are needed as they will allow you to compile the VMTools programs contained in the .tar.gz file, as some of the programs replace some system defaults like network adapter drivers and replaces the NIC driver with the vmxnet3 driver (for example)).

mount /dev/sr0 /mnt
cp VMwareTools-4.0.0-xxxxx.tar.gz /usr/local/src
cd /usr/local/src
tar zxvf VMwareTools-4.0.0-xxxxx.tar.gz
cd vmware-tools-distrib
./vmware-install.pl

Follow all of the usual on-screen prompts for the rest of the VMTools install.
Once the install has completed, you’ll be able to log into your ESXi console using VI client and observer that there is now more granular information available for your guestOS.
Enjoy!

Matt Palmer

 

 

Comments

Subscribe to Comments Feed
  • Robert Said:

    Nice and simple instructions that worked first time, Thanks

  • Maros Said:

    Just a small tip, if you are using defaults in vmware installation script, just invoke it with -d flag. ./vmware-install.pl -d

  • Pete Kane Said:

    Nice tutorial but I think you should add that you need to have VMware tools on a cd

Upcoming Linux Foundation Courses

  1. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  2. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details
  3. LFS520 OpenStack Cloud Architecture and Deployment
    12 Jan » 15 Jan - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board