Всем доброго времени суток.
to Const
сделал следующее:
1. сделал поиск пакетов
[root@crm uaa]# apt-cache search request-tracker
request-tracker - Request Tracker (RT) is an enterprise-grade issue tracking system
request-tracker-apache - Apache 1.x support the request-tracker
request-tracker-apache2 - Apache 2.x support the request-tracker
request-tracker-postgresql - PostgreSQL support for the request-tracker
request-tracker-ru - Full russian support for the request-tracker
request-tracker-sqlite - SQLite support for the request-tracker
request-tracker-extension-at - Asset Tracker (AT) is an extension to Request Tracker (RT). It is designed to keep track of assets such as: servers, switches, desktops, or anything else.
request-tracker-extension-at-ru - Full russian support for request-tracker-extension-at
request-tracker-extension-externalauth - External Authentication for Request Tracker
request-tracker-extension-rtfm - The RT FAQ Manager (RTFM) is an extension to Request Tracker (RT). It is designed for an enterprise-grade knowledge management
request-tracker-extension-rtfm-ru - Full russian support for request-tracker-extension-rtfm
request-tracker-extension-stats - Statistics is an extension to Request Tracker (RT). It is produces statistical information based on RT data.
[root@crm uaa]#
2. потом apt-get install request-tracker
выдало вот что
apt-get install request-tracker
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
request-tracker
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1677kB of archives.
After unpacking 14.0MB of additional disk space will be used.
Committing changes...
Preparing... ################################################################################################### [100%]
1: request-tracker ################################################################################################### [100%]
perl:
>=5.8.3(5.8.9)...found
users:
rt group (apache)...found
bin owner (root)...found
libs owner (root)...found
libs group (bin)...found
web owner (apache)...found
web group (apache)...found
CLI dependencies:
CORE dependencies:
DASHBOARDS dependencies:
FASTCGI dependencies:
GPG dependencies:
GnuPG::Interface...MISSING
GRAPHVIZ dependencies:
ICAL dependencies:
MAILGATE dependencies:
MASON dependencies:
MYSQL dependencies:
SMTP dependencies:
STANDALONE dependencies:
SOME DEPENDENCIES WERE MISSING.
GPG missing dependencies:
GnuPG::Interface...MISSING
Congratulations. RT has been installed.
You must now configure RT by editing /etc/rt/RT_SiteConfig.pm and /etc/httpd/conf/vhosts.d/rt.conf.example.
(You will definitely need to set RT's database password before continuing. Not doing
so could be very dangerous)
After that, you need to initialize RT's database by running:
/usr/lib/rt/sbin/rt-setup-database --action init \
--dba root --prompt-for-dba-password
If something goes wrong you can always drop everything, by executing:
/usr/lib/rt/sbin/rt-setup-database --action drop \
--dba root --prompt-for-dba-password
Look into these scripts and put them in the crontab:
/usr/lib/rt/bin/rt-remind
/usr/lib/rt/bin/rt-escalate
/usr/lib/rt/bin/rt-count
Put these lines in the /etc/aliases and read the docs:
# RT aliases
support: "|/usr/lib/rt/bin/rt-mailgate --queue 'General' --action correspond --url https://rt.example.com/"
support-comments: "|/usr/lib/rt/bin/rt-mailgate --queue 'General' --action comment --url https://rt.example.com/"
#
Go to the http://wiki.bestpractical.com/ for contribs and docs
Running /usr/lib/rpm/posttrans-filetriggers
Done.
типо всё ок, продолжайте настраивать далее..
3. Далее настроил RT_SiteCOnfig.pm как надо...
4. но вот настраивать апач.. есть пара непоняток..
во-первых... после инсталлла мне написало мол сконфигурировать/etc/httpd/conf/vhosts.d/rt.conf.example... но у меня апач httpd2 ... т.е. надо настроить /etc/httpd2/conf/vhosts.d/rt.conf.example ? т.е. туда надо вписать что-то подобное:
<VirtualHost *:80>
ServerName www.example.com
ServerAdmin Email.Address@example.com
# config for your main content
DocumentRoot /var/www
<Directory /var/www>
# here and in other places goes config
# of your main host
</Directory>
# as RT is out of document root then we want alias
# and should define directory access
Alias /rt/ /opt/rt3/share/html/
<Directory /opt/rt3/share/html/>
Order allow,deny
Allow from all
</Directory>
PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
и должен заработать...
P.S. Я сделал так, но всё равно, если зайти по вэб-адресу по РТ.. то мне выдаёт
'); % $m->comp('/Elements/Header', Title=>loc("RT at a glance"), Refresh => $session{'home_refresh_interval'}||RT->Config->Get('HomePageRefreshInterval', $session{'CurrentUser'} )); % if (0) { %# -->
You're almost there!
You haven't yet configured your webserver to run RT. You appear to have installed RT's web interface correctly, but haven't yet configured your web server to "run" the RT server which powers the web interface. The next step is to edit your webserver's configuration file to instruct it to use RT's mod_perl, FastCGI or SpeedyCGI handler. If you need commercial support, please contact us at sales@bestpractical.com.
что типо у вас всё ок, но надо настроить вэб-сервер.. а чем я до этого занимался? коров гонял... вроде что -тот писал да похоже не то или не туда.. не знаю, т.к. опыта в этом у меня нету :(
там ещё просит добавить пару модулей: mod_perl и FastCGI ... добавил apache2-mod_perl и mod_fastcgi /добавил... но толку не дало... :(
подскажите пожалуйста, что я делаю не так... никак не могу сообразить... ибо я в этом только только начал разбираться.. мне поставили задачу настроить РТ :( и вот влез куда -то да не могу выбраться
У вас должно быть доступно: rt.softex.ru/rt