------------------------------------------------------------------------
下面两个包一时找不到只好用make fixdeps 修复了
CGI::Fast ...MISSING
FCGI ...MISSING
make fixdeps //不建议用fixdeps修复一般用yum安装
make testdeps发现所有的包都安装好了
make install
------------------------------------------------------------------------[root@mail etc]# pwd
/opt/rt3/etc
[root@mail etc]# ls
acl.Informix acl.Pg RT_Config.pm schema.mysql-4.0 schema.Pg
acl.mysql acl.Sybase RT_SiteConfig.pm schema.mysql-4.1 schema.SQLite
acl.Oracle initialdata schema.Informix schema.Oracle schema.Sybase
[root@mail etc]# vim RT_SiteConfig.pm
参照RT_Config.pm配置进行添加有需要的信息
例子:附件为RT_SiteConfig.pm添加的配置信息可以参考
------------------------------------------------------------------------
安装依赖的包
wget http://cpan.uwinnipeg.ca/cpan/authors/id/J/JE/JESSE/RT-Extension-QuickDelete-0.03.tar.gz
tar xzvf RT-Extension-QuickDelete-0.03.tar.gz
perl Makefile.PL
make install
wget http://download.bestpractical.com/pub/rt/release/RTFM-2.4.2.tar.gz
tar xzvf RTFM-2.4.2.tar.gz
perl Makefile.PL
make install
wget http://cpan.uwinnipeg.ca/cpan/authors/id/J/JE/JESSE/RT-Extension-QuickDelete-0.03.tar.gz
tar xzvf RT-Extension-QuickDelete-0.03.tar.gz
perl Makefile.PL
make install
[root@mail rt-3.8.7]# make initialize-database
make initialize-database提示如下:
/usr/bin/perl -I/opt/rt3/local/lib -I/opt/rt3/lib sbin/rt-setup-database --action drop --dba root --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your mysql instance on localhost as root
Please specify that user's database password below. If the user has no database
password, just press return.
默认用户是root 密码password
------------------------------------------------------------------------
配置apache
http://wiki.bestpractical.com/view/ManualApacheConfig
参照Configuring Apache
vi /etc/httpd/conf.d/vhost_rt.conf
添加邮件
参考文档http://wiki.bestpractical.com/view/ManualEmailConfig
[root@mail example.com]# pwd
/home/vpopmail/domains/example.com
[root@mail example.com]# ls -a
. .. ganlin postmaster .qmail-default rt sales support test
[root@mail example.com]# vim .qmail-sales-comment
|/opt/rt/bin/rt-mailgate --queue Sales --action comment --url http://rt.example.com
[root@mail example.com]# vim .qmail-support-comment
|/opt/rt/bin/rt-mailgate --queue Support --action comment --url http://rt.example.com
[root@mail example.com]# ls -a
. aaaaa postmaster .qmail-sales-comment rt
.. ganlin .qmail-default .qmail-support-comment test
[root@mail RT-IR-2.4.3]# make initdb
/usr/bin/perl -Ilib -I/opt/rt3/local/lib -I/opt/rt3/lib /opt/rt3/sbin/rt-setup-database --action insert --datadir etc --datafile etc/initialdata --dba rt --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your mysql instance on localhost as rt
Please specify that user's database password below. If the user has no database
password, just press return.
Password:
/etc/init.d/httpd stop
/etc/init.d/httpd start
Then edit your RT_Config (or RT_SiteConfig) to replace the line:
Set(@Plugins, qw(RT::FM));
by:
Set(@Plugins, 'RT::FM', 'RT::IR');
------------------------------------------------------------------------
RTFM 安装
cd /usr/local/src
wget http://download.bestpractical.com/pub/rt/release/RTFM-2.4.1.tar.gz
tar zxf RTFM-2.4.1.tar.gz
cd RTFM-2.4.1
perl Makefile.PL
make install
make initdb
Then edit your RT_SiteConfig (or RT_Config) to include this line:
Set(@Plugins,qw(RT::FM));
[root@mail RTFM-2.4.2]# make initdb
/usr/bin/perl -Ilib -I/opt/rt3/local/lib -I/opt/rt3/lib /opt/rt3/sbin/rt-setup-database --action schema --datadir etc --dba rt --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your mysql instance on localhost as rt
Please specify that user's database password below. If the user has no database
password, just press return.
Password: