Archive for the 'perl' Category

Quickly install perl module Net::Amazon::S3 and all its dependencies

Net::Amazon::S3 is the standard perl module to interact with Amazon S3 service using perl scripts. If you ever tried to install it, you may well aware about its gigantic dependecies on other modules which must be installed correctly. If anything goes wrong, you’ll be in mess because you have check around 66 different modules.

Here is a single command which will install the module and all of its dependecies (known upto the date of this article). I’ve tested this several times in CentOS 5.x boxes but I dont guarantee that it’ll also work seamlessly for you as well:

Download, install and configure perl GeoIP module manually

After a try to install perl Geo::IP through cpan, and spending some moments to resovle error about missing C api library etc. I’ve opted for manual install which goes quite smooth.

Here are the steps which I followed on my CentOS 5.2 server. Please note that the version of software mentioned here might be outdated at the point of your reading, therefore, you should visit the relevant site and fetch latest one.

Step 1. Download, compile and install maxmind’s C API:

# cd /usr/src
# wget http://www.maxmind.com/download/geoip/api/c/GeoIP-1.4.3.tar.gz
# tar xzf GeoIP-1.4.3.tar.gz
# cd GeoIP-1.4.3
# ./configure; make; make install

Get Adobe Flash playerPlugin by wpburn.com wordpress themes