How To Install/Update CPAN on MacOS Mojave with fatal error: ‘EXTERN.h’ file not found

Author: , June 12th, 2019

The Problem Tried to install the latest version of cpan and got stuck. Tracked it down to the dependency module Mac::SystemDirectory which was failing to build:

The Solution Use the MacOS installer command to deploy the needed files:

The, rerunning the cpan install works:

How To Install and Use the screen Command on AWS Linux

Author: , August 12th, 2016

Install it: yum install screen Start it up: screen Detach from the session: Control-a d Re-attach to the session later on: screen -r This is a good reference guide:

How To Install a .pkg file from the Command Line on MacOSX

Author: , August 12th, 2016

sudo /usr/sbin/installer -pkg /path/to/yourFile.pkg -target /

How To Install the AWS CLI

Author: , March 29th, 2016

ls -l ~/.aws

cat ~/.aws/config

cat ~/.aws/credentials

How To Install Continuent Tungsten Replicator Using Puppet on AWS

Author: , April 15th, 2014 As user root: vi /root/install.pp

yum install puppet mkdir -p /etc/puppet/modules puppet module install continuent/tungsten puppet apply /root/install.pp

How To Configure CPAN to Automatically Install Dependencies Without Confirmation

Author: , March 20th, 2014

perl -MCPAN -e ‘my $c = “CPAN::HandleConfig”; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => “follow”); $c->edit(connect_to_internet_ok => “yes”); $c->edit(build_requires_install_policy => “yes”); $c->commit’

How To install Boto on Amazon Linux using yum and pip

Author: , August 15th, 2013

How To Install s3cmd

Author: , June 7th, 2013

Install Procedure Download and extract into /usr/local:

Configuration saved to ‘/root/.s3cfg’ Command Line Examples List all buckets: s3cmd ls Make a new bucket in the default region (US): s3cmd mb s3://{YOUR_BUCKET_HERE} Make a new bucket in a specific region: s3cmd mb –bucket-location={DATACENTER} s3://{YOUR_BUCKET_HERE} As of now the datacenters are: US (default), EU, us-west-1, […]

How To Upgrade PHP to PHP53 On CentOS

Author: , August 22nd, 2011

To get mcrypt installed, read this post:

How To Install mcrypt For PHP53 On CentOS

Author: , August 12th, 2011

To get mcrypt support for PHP 5.3, compile and install just the mcrypt extension. First, get the prerequisites:

Download the php source code from, for example:

Now, cd to the proper place and follow these steps:

Create the configuration file for MCrypt /etc/php.d/mcrypt.ini containing:

Restart apache:

Create a file […]