wiki:Nmm2022/Agenda/RTsetup

Version 4 (modified by geethike, 3 years ago) ( diff )

--

Install Request Tracker 5 (RT) on Ubuntu 20.04

Update system package cache;

# sudo su
# apt update
# apt upgrade

Install Required Build tools

# apt install build-essential libapache2-mod-fcgid libssl-dev libexpat1-dev libdbd-mysql-perl liblwp-protocol-https-perl libhtml-formattext-withlinks-andtables-perl libhtml-formattext-withlinks-perl html2text

Install Apache Web Server

#apt install apache2

Install MariaDB Database Server

Install MariaDB 10.5 on Ubuntu 20.04;

# apt-key adv --fetch-keys 'http://mariadb.org/mariadb_release_signing_key.asc'

# add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal main'

#apt update
#apt install mariadb-server mariadb-client

Install Request Tracker (RT)

Download RT 5 Tarball

# wget https://download.bestpractical.com/pub/rt/release/rt-5.0.0.tar.gz

You can now extract the source code;

# tar xzf rt-5.0.0.tar.gz

Compile and Install Request Tracker (RT)

Change to RT 5 source code directory and configure it to adapt it to the system as well as check if required package dependency is met;

# cd rt-5.0.0/
# ./configure

Next, check for package dependency.

# make testdeps

out put as follows;

/usr/bin/perl ./sbin/rt-test-dependencies
perl:
    5.10.1 ................................................. ok (5.30.0)

users / groups:
    rt group (www-data) .................................... ok (gid 33)
    bin user (root) ........................................ ok (uid 0)
    libs user (root) ....................................... ok (uid 0)
    libs group (bin) ....................................... ok (gid 2)
    web user (www-data) .................................... ok (uid 33)
    web group (www-data) ................................... ok (gid 33)

CORE dependencies:
    Apache::Session >= 1.53 ................................ MISSING
    Business::Hours ........................................ MISSING
    CGI >= 4.00 ............................................ ok (4.46)
    CGI::Cookie >= 1.20 .................................... ok (4.46)
    CGI::Emulate::PSGI ..................................... MISSING
    CGI::PSGI >= 0.12 ...................................... MISSING
    CSS::Minifier::XS ...................................... MISSING
    CSS::Squish >= 0.06 .................................... MISSING
    Class::Accessor::Fast .................................. MISSING
    Clone .................................................. MISSING
    Convert::Color ......................................... MISSING
    Crypt::Eksblowfish ..................................... MISSING
    DBI >= 1.37 ............................................ ok (1.643)
...

Fixing Request Tracker Missing Perl Dependencies;

You can fix the missing perl dependencies by installing them one by one or by simply using make fixdeps command. In order to use the make fixdeps command for fixing the missing packages, configure CPAN shell and install cpanminus.

# perl -MCPAN -e shell
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.

Would you like to configure as much as possible automatically? [yes] yes

Autoconfiguration complete.
...
...
cpan shell -- CPAN exploration and modules installation (v2.22)
Enter 'h' for help.

cpan[1]> quit

Install CPANMINUS . cpanminus provides a command-line (non interactive) interface to automatically download, build and install Perl modules from CPAN.

Attachments (29)

Note: See TracWiki for help on using the wiki.