CentOS4.4は、perl5.8.5がインストールされるので、perl5.8.8にしたい場合は、下記の操作が必要。
vi /etc/yum.respos.d/CentOS-Base.repo
enable=0をenable=1にするだけ。
[centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo =centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 #enabled=0 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
自分のWEBアプリに必要なCPANモジュールをインストールする。
perl -e shell -MCPAN
> install HTML::Template
> install HTML::FillInForm
> install CGI::Session
> install DBI
> install Net::SMTP
> install Mail::CheckUser
DBD::Pgはlibpqというpostgresのライブラリが必要なので、ライブラリパスを設定
vi /etc/ld.so.conf.d/perl.conf
/usr/lib /usr/local/postgres/lib
その後、ld.so.confを有効化する
ldconfig
perl -e shell -MCPAN
> install DBD::Pg