# yum install httpd httpd-devel apr-devel mysql-client mysql-devel mod_perl
# yum install freetype-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel
# rpm -i ftp://rpmfind.net/linux/EPEL/4AS/x86_64/ncftp-3.2.0-3.el4.x86_64.rpm
# groupadd rt
# chmod -Rf 755 /etc/httpd/logs
# reboot
# yum install perl-Apache-Session perl-Class-Container perl-Class-Data-Inheritable perl-Crypt-DES perl-Devel-StackTrace perl-Exception-Class perl-GD perl-GD-Graph perl-GD-Text-Util perl-Hook-LexWrap perl-HTML-Mason perl-HTTP-Server-Simple perl-HTTP-Server-Simple-Mason perl-IO-Socket perl-Net-SNMP perl-Params-Validate perl-Socket6 perl-XML-RSS perl-DBD-mysql
# perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan> exit
# wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz
# tar xzf rt.tar.gz
# cd rt-*/
# ./configure --with-web-user=apache --with-web-group=apache --with-modperl2 --with-mysql
# perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install
# perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --verbose|grep MISSING
# make install
# chkconfig httpd on
转载于:https://blog.51cto.com/steven2/263648
Leave a comment