Инструменты пользователя

Инструменты сайта


service:rtracker

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
service:rtracker [07.08.2019 14:15] – [Request tracker] viacheslavservice:rtracker [30.07.2024 19:21] (текущий) – внешнее изменение 127.0.0.1
Строка 1: Строка 1:
 +===== Request tracker =====
 +Cистема учета заявок пользователей (HelpDesk).
  
 +https://github.com/ksemaev/manuals/blob/master/Issue%20tracker%20for%20IT%20department.md
 +==== Postfix ====
 +Настройка нужна для отправки писем.
 +
 +FIXME - Прояснить настройку для связки с Exchange, настроить авторизацию не вышло, отправляет как аноним.
 +<code bash>
 +apt install postfix mailutils
 +
 +nano /etc/postfix/main.cf
 +smtp_generic_maps = hash:/etc/postfix/generic
 +smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 +
 +nano /etc/postfix/generic
 +
 +nano /etc/postfix/sasl_passwd
 +[smtp.smtpserver.com]:587 username:password
 +
 +chmod 400 /etc/postfix/sasl_passwd
 +postmap /etc/postfix/sasl_passwd
 +</code>
 +https://www.youtube.com/watch?v=uqNYW6hj4Hc\\
 +https://medium.com/@federicopanini/postfix-setup-ubuntu-relay-host-ad6ef39a1239
 +
 +==== Установка трекера ====
 +https://www.youtube.com/watch?v=2YOIXrYnkpU\\
 +https://habr.com/ru/sandbox/96505/
 +<code bash>
 +apt install perl make gcc
 +
 +tar xzvf rt.tar.gz -C /tmp
 +cd /tmp/rt-[tab]
 +./configure --with-web-user=www-data --with-web-group=www-data --enable-graphviz --enable-gd
 +/usr/bin/perl -MCPAN -e shell
 +# поставить зависимости Perl
 +make fixdeps
 +make testdeps
 +</code>
 +https://docs.bestpractical.com/rt/4.4.4/README.html
 +
 +==== Perl ====
 +Иногда зависимости просто так не ставятся, надо красноглазить и ставить их руками.\\
 +Полезный сайт: http://deb.perl.it/ubuntu/cpan-deb/
 +
 +Use this recipe for manually installing perl modules:
 +<code bash>
 +tar zxf Digest-SHA1-2.13.tar.gz
 +cd Digest-SHA1-2.13
 +perl Makefile.PL
 +make
 +make test
 +make install
 +</code>
 +https://stackoverflow.com/questions/7541019/manual-installation-of-a-perl-module
 +
 +Примеры проблем:\\
 +Can't locate Parallel/Prefork.pm in @INC (you may need to install the Parallel::Prefork module)
 +<code bash>
 +cpan Parallel::Prefork module
 +</code>
 +https://metacpan.org/pod/Parallel::Prefork
 +
 +Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module)
 +<code bash>
 +cpan inc::Module::Install
 +</code>
 +
 +Warning: prerequisite 0.03 not found.\\
 +https://metacpan.org/pod/Proc::Wait3
 +
 +Can't locate GD.pm
 +<code bash>
 +apt install libgd-perl
 +</code>
 +
 +
 +<code bash>
 +SOME DEPENDENCIES WERE MISSING.
 +GPG missing dependencies:
 +        GnuPG::Interface ...MISSING
 +apt install libgnupg-interface-perl
 +
 +MYSQL missing dependencies:
 +        DBD::mysql >= 2.1018 ...MISSING
 +apt-get install libdbd-mysql-perl
 +
 +GD missing dependencies:
 +        GD ...MISSING
 +        GD::Text ...MISSING
 +        GD::Graph >= 1.47 ...MISSING
 +GRAPHVIZ missing dependencies:
 +        GraphViz ...MISSING
 +CORE missing dependencies:
 +        XML::RSS >= 1.05 ...MISSING
 +apt-get install libxml-rss-perl 
 +
 +        HTML::FormatText::WithLinks::AndTables >= 0.06 ...MISSING
 +        HTML::FormatText::WithLinks >= 0.14 ...MISSING
 +</bash>
 +
 +Помогает ставить модули из консоли cpan без предварительного запуска теста, т. к. установка модулей обламывается чаще всего именно на этом этапе.
 +<code bash>
 +notest install GD::Text
 +</code>
 +http://avz.org.ua/wp/2016/10/03/rt-and-perl-modules-hell/
 +
 +==== Дальнейшая установка ====
 +<code bash>
 +make install
 +
 +nano /opt/rt4/etc/RT_SiteConfig.pm
 +
 +Set( @LexiconLanguages, qw(en ru));
 +Set( $rtname, 'rt.example.com');
 +Set( $WebDomain, 'rt.example.com');
 +Set( $Organisation, 'rt.example.com');
 +Set( @ReferrerWhitelist, qw(rt.example.com:80 12.34.56.78:80));
 +Set( $Timezone , 'Europe/Moscow');
 +Set( $LogoLinkURL, ' http://rt.example.com/');
 +
 +make initialize-database
 +
 +# Apache configuring
 +apt install libapache2-mod-fcgid
 +
 +nano /etc/apache2/sites-available/000-default.conf
 +
 +ServerName rt.example.com
 +AddDefaultCharset UTF-8
 +DocumentRoot /opt/rt4/share/html
 +Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
 +ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
 +<Location />
 +## Apache version < 2.4 (e.g. Debian 7.2)
 +# Order allow,deny
 +# Allow from all
 +## Apache 2.4
 +Require all granted
 +</Location>
 +
 +service apache2 restart
 +</code>
 +Войти через браузер - root, password
 +
 +https://docs.bestpractical.com/rt/4.4.4/web_deployment.html

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki