[freeside-devel] Installation support script.
Dave Burgess
burgess at neonramp.com
Sun Nov 4 22:45:47 PST 2012
The only place I've installed FreeSide in the past few years has been on
CentOS Asterisk servers.
Installing on FreeBSD (like NetBSD and OpenBSD) should be a relative
snap with this information. The difference would be that you would use
the native pkg/ports system for the missing libraries (gd and Tex) and
throw these cpan requests on.
Dave
On 11/4/2012 4:54 PM, Dave Burgess wrote:
> 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
>
More information about the freeside-devel
mailing list