[freeside-devel] Installation support script.

Dave Burgess burgess at neonramp.com
Sun Nov 4 14:54:08 PST 2012


I just got finished installing on a CentOS server (Freeside residing on 
a PIAF Asterisk server specifically).

After all of the actions in the Makefile, I found a few routines that 
didn't get installed clean, and a couple of libraries that Asterisk 
doesn't install that seem to come in handy.

Here's the script.

#!/bin/sh
#
export PERL_EXTUTILS_AUTOINSTALL=--defaultdeps
cpan App::cpanminus
#
# Not everyone installs the gd libraries.
#
if [ -z `yum info gd | grep 'gd.i386' | sed 's/.*not.*//` ] ; then
     yum -y install gd gd-devel
     cpanm -n libgd
else
     echo "LibGD installed"
fi

if [ ! -x /usr/bin/kpsewhich ] ; then
     yum install tetex-latex tetex-doc tetex-fonts
else
     echo "LaTeX installed"
fi
cpanm -n Bundle::CPAN
cpanm -n CPAN::Meta::YAML
cpanm -n Module::Signature
cpanm -n File::Which
cpanm -n File::Path
cpanm -n Email::Sender::Transport::SMTP::TLS
cpanm -n JSON
cpanm -n Locale::SubCountry
cpanm -n JSON::PP
cpanm -n DBD::mysql
cpanm -n DBI
cpanm -n DBIx::DataSource
cpanm -n Date::Format
cpanm -n Date::Manip
cpanm -n Apache::DBI
cpanm -n libgd
cpanm -n Chart::Base
cpanm -n Cache::Cache
cpanm -n DateTime
cpanm -n DateTime::Format::Strptime
cpanm -n DateTime-Format-Natural
cpanm -n Email::Sender
cpanm -n Excel::Writer::XLSX
cpanm -n HTML::Mason
cpanm -n Locale::Country
cpanm -n Mail::Internet
cpanm -n MIME::Tools
cpanm -n NetAddr::IP
cpanm -n Net::Ping
cpanm -n Net::Ping::External
cpanm -n Number::Format
cpanm -n Spreadsheet::WriteExcel
cpanm -n String::Approx
cpanm -n Text::CSV_XS
cpanm -n Term::ReadKey
cpanm -n Text::Template
cpanm -n Authen::Passphrase
cpanm -n Business::CreditCard
cpanm -n Business::US::USPS::WebTools

-- 
Dave Burgess
Manager
Cynjut Consulting Services, LLC
402-403-4434 (Phone, FAX, and Cell)





More information about the freeside-devel mailing list