To install VMWare tools using YUM on CentOS/RHEL 6.5, do the following.

Note, I’m logged in as the ‘root’ user, but you could execute these commands using ‘sudo’ as well.

Step 1: Download and import GPG keys

[root@techedemic /var/tmp]# wget
[root@techedemic /var/tmp]# rpm --import

Step 2: Add VMWare repository

# Create/Modify  /etc/yum.repos.d/vmware-tools.repo, I use 'vim' as an editor
[root@techedemic /var/tmp]# vim /etc/yum.repos.d/vmware-tools.repo

Continue reading

yum (RHEL/CentOs/SL/etc) has an option which allows you to limit the download rate/amount of bandwidth used to download packages. Here’s how you do it:

Edit the /etc/yum.conf file and add the following line:


The above entry will limit the download rate to 50 kilobytes per second (note, not kilobits) when you do any yum command such as yum install or yum groupinstall , etc.

For Ubuntu/Debian users that use apt, please see this post


I tried using SOAP::Lite with Perl recently and kept getting the following error on my server when trying to execute my Perl script:$ ./
Can't locate Class/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/ hare/perl/5.10.1/SOAP/ line 435.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/SOAP/ line 435.
Compilation failed in require at ./ line 3.
BEGIN failed--compilation aborted at ./ line 3.

The solution was quite simple, although finding it on the internet was not as simple.

Just do the following to install the required class:

sudo apt-get install libclass-inspector-perl

Voila, it’s working as expected.

If you are using RHEL or CentOS, you could do the following (I did not test this but found it at this link :

yum install 'perl(Class::Inspector)'

Hope this helps someone out there!