VMware Cloud Community
tractng
Enthusiast
Enthusiast
Jump to solution

Installing vmware tools on linux

Any link on installing the tools on centos 5.2/5.3? What are the gains of installing on a linux machine. I have always installed on a windows machine but not on a linux machine.

Right clicking on the machine name doesn't seem to install.

The NIC shows txqueuelen:1000 without installing the tools when i did -ifconfig

tnt

0 Kudos
1 Solution

Accepted Solutions
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

do not forget that in order to install VMware Tools in Linux, you will need the linux-headers package for the kernel installed

first, make sure to select the option to install VMware Tools (that way the VMware Tools iso will be mapped in the VM)

from the command line (as root):

mount /dev/cdrom /mnt/cdrom

cd /tmp

tar zxf /mnt/cdrom/VMwareTools-xversion-<xxxx>.tar.gz

umount /dev/cdrom

cd vmware-tools-distrib

./vmware-install.pl

Respond to the configuration questions on the screen

hope it is helpful

Jose B Ruelas

http://aservir.wordpress.com

Jose B Ruelas http://aservir.wordpress.com

View solution in original post

0 Kudos
7 Replies
Kasraeian
Expert
Expert
Jump to solution

Hi,

still you can install VMware tools by right click on VM and install the VMware tools.

If you have access to VM (CentOS) console and installed its GUI (GNOME or KDE or ...) go to your CD drive and check it.

it should contain 1 or 2 file (I think both tar and rpm are there).

select the file for your OS and run it, it should open a console and ask you some question like resolution and if you want to auto start the VMware tools agent and ....

You can check this link for more information about installing VMware Tools on CentOS and other OS.



-= If you found this note/reply useful, please consider awarding points for "Correct" or "Helpful" =-

-= If there's any mistake in my notes, please correct me! =-

-= Thanks =-

MCTS, VCP

If you found this note/reply useful, please consider awarding points for "Correct" or "Helpful" If there's any mistake in my notes, please correct me! Sohrab Kasraeianfard | http://www.kasraeian.com | @Kasraeian
jbruelasdgo
Virtuoso
Virtuoso
Jump to solution

do not forget that in order to install VMware Tools in Linux, you will need the linux-headers package for the kernel installed

first, make sure to select the option to install VMware Tools (that way the VMware Tools iso will be mapped in the VM)

from the command line (as root):

mount /dev/cdrom /mnt/cdrom

cd /tmp

tar zxf /mnt/cdrom/VMwareTools-xversion-<xxxx>.tar.gz

umount /dev/cdrom

cd vmware-tools-distrib

./vmware-install.pl

Respond to the configuration questions on the screen

hope it is helpful

Jose B Ruelas

http://aservir.wordpress.com

Jose B Ruelas http://aservir.wordpress.com
0 Kudos
tractng
Enthusiast
Enthusiast
Jump to solution

Thanks guys. I will install the hearder first. Then will install what suggested afterwards.

tnt

0 Kudos
Kasraeian
Expert
Expert
Jump to solution

Your welcome

I'm Beginner in Linux and just sometimes working with it to learn it, may I ask which Linux Header package needed for VMware tools?

As I mentioned before, because I'm newbie, I'm always installing Linux (CentOS or RHEL or ...) with All Package except the server tools and software which I may not need them, and never need anything to install VMware tools (may be its one affect of being a beginner Smiley Wink)

Thanks



-= If you found this note/reply useful, please consider awarding points for "Correct" or "Helpful" =-

-= If there's any mistake in my notes, please correct me! =-

-= Thanks =-

MCTS, VCP

If you found this note/reply useful, please consider awarding points for "Correct" or "Helpful" If there's any mistake in my notes, please correct me! Sohrab Kasraeianfard | http://www.kasraeian.com | @Kasraeian
0 Kudos
tractng
Enthusiast
Enthusiast
Jump to solution

My OS is centos 5.2/5.3. I will do this at home. I am not sure about the type of header yet :).

tnt

0 Kudos
Jackobli
Virtuoso
Virtuoso
Jump to solution

It just depends on the Linux distribution.

If you are using Redhat or Clones, that are in the supported guest OS list, you may install the vmware-tools without any flaws right out of the box. VMware provides kernel modules compiled for that supported versions.

If one is using other distributions, most likely at the bleeding edge new ones, the modules provided by VMware are not matching to the specific kernel version. So one has to compile it's own modules (vmware-config.pl) and the compile process needs obviously a compiler and the appropriate kernel-headers all together with some tools (make and so on).

On some distributions (eg OpenSuSE) you will find the open-vmtools already added and installed. They get patched and redistributed, when new kernel patches are added. So one does not need to use a compiler.

Installing a linux server, i I usually install the smallest subset of a distribution. Less packages, less security concerns, less time to patch, less bandwith and downtimes Smiley Happy

0 Kudos
thiyaga
Contributor
Contributor
Jump to solution

<![endif]><![if gte mso 9]>

Follow below mentioned steps

For Linux

mount /dev/cdrom /mnt/cdrom

cp /mnt/cdrom/vmware-linux-tools-&lt;xxxxx&gt;.i386.rpm

cd /tmp

rpm -Uhv

/tmp/vmware-linux-tools-&lt;xxxxx&gt;.i386.rpm

umount /mnt/cdrom

For solaris

/cdrom/vmwaretools.

If the

CD-ROM is not mounted, restart the volume manager using the following commands

/etc/init.d/volmgt stop

/etc/init.d/volmgt start

After the CD-ROM is mounted, use the following commands to extract

VMware Tools.

cd /tmp

gunzip -c /cdrom/vmwaretools/vmware-solaris-tools.tar.gz | tar xf -

0 Kudos