Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Share Post: Digg Delicious Reddit Twitter StumbleUpon
Install VMware Tools (ESX-type) in Debian (Lenny)
02-06-2011, 04:59 PM (This post was last modified: 02-09-2011 01:29 PM by quad3datwork.)
Post: #1
Install VMware Tools (ESX-type) in Debian (Lenny)
Update to latest whatever Debian and install Linux kernel header files:
Code:
apt-get update
apt-get dist-upgrade
apt-get install build-essential
apt-get install linux-headers-`uname -r`

Go ahead and enable VMWare Tools add-on from your vSphere client.

Mount the VMware Tools image if it's not already mounted:
Code:
mount /dev/cdrom /media/cdrom

Copy the VMware Tools compressed file somewhere, extract it, and run the install script:
Code:
cp /media/cdrom/VMwareTools-4.0.0-261974.tar.gz /tmp/
cd /tmp/; tar xfz VMwareTools-4.0.0-261974.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl

Quote:Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 4.0.0 build-261974 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Initializing...


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done
Adding system startup for /etc/init.d/vmware-tools ...
/etc/rc0.d/S36vmware-tools -> ../init.d/vmware-tools
/etc/rc6.d/S36vmware-tools -> ../init.d/vmware-tools
/etc/rcS.d/S38vmware-tools -> ../init.d/vmware-tools
The bld-2.6.26-2-i686smp-Debian5.0.1 - vmmemctl module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmhgfs module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmxnet module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmblock module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmci module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vsock module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - vmxnet3 module loads perfectly into the
running kernel.

The bld-2.6.26-2-i686smp-Debian5.0.1 - pvscsi module loads perfectly into the
running kernel.

No X install found.

Use of uninitialized value $style in string eq at /usr/bin/vmware-config-tools.pl line 6276.
Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-2.6.26-2-686
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Paravirtual SCSI module: done
Guest memory manager: done
VM communication interface: done
VM communication interface socket family: done
Guest operating system daemon: done

The configuration of VMware Tools 4.0.0 build-261974 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/cdrom0. Ejecting device /dev/hda ...
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2011, 12:24 AM
Post: #2
RE: Install VMware Tools (ESX-type) in Debian (Lenny)
Except the 'apt-get' part, same process on RHEL/CentOS... I guess.

Nothing is lost or wasted in this life.
Find all posts by this user
Quote this message in a reply
07-06-2011, 10:03 AM
Post: #3
RE: Install VMware Tools (ESX-type) in Debian (Lenny)
You may need to install "gcc-4.3" package as well.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Import VMware images into ESXi quad3datwork 0 10,958 01-28-2011 04:59 PM
Last Post: quad3datwork

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

System Administrator (SysAdmin) Forum - SysAdminTalk.Net