Install RT4, error free!

Hello Community!

I’ve been doing some research towards doing a fresh install of RT4. My goal is to get RTIR deployed for my SOC, (which consists of 2 people), and the ticket system at work is scary bad, so there is no way I’m going to even consider using it.

Seems as if whatever distribution you chose to go with, there are going to be problems.

IS there any advice towards installing RT4 when it comes to choosing a distribution?

  1. I am going to be installing RT4 on a VSphere Server
  2. Currently I have Ubuntu Server 18.04 installed, with Apache2 running.

Does Apache 2 have fastCGI pre-installed within it?

*I’m not familiar with installing an older version of software, so I will need to read-up on this.
*I see that MariaDB, is currently at Version 10.3, will this work alongside RT4? Or will I need to install 10.1 somehow.

Can I avoid having to go through all of this trouble by using a different distribution?
I have seen guides towards installing on Ubuntu 13, I was actually going to go with this one instead of 18.04.

I’m sure I’ll be able to weezle through all of the errors and problems using this very powerful forum platform, but my questions lie above before I begin on MONDAY.

Thank you for any advice, replies.

My notes for an Ubuntu 16 install:

sudo apt-get install libgd-dev libgraphviz-dev graphviz autoconf apache2 libapache2-mod-fcgid slapd ldap-utils expat openssl libssl-dev

Install standalone Perl for RT:

   $ wget http://www.cpan.org/src/5.0/perl-5.26.3.tar.gz
   $ tar -xzf perl-5.26.3.tar.gz
   $ cd perl-5.26.3
   $ sudo ./Configure -des -Dprefix=/opt/perl5
   $ sudo make
   $ sudo make test
   $ sudo make install

Use new Perl install:

 $ export PATH=/opt/perl5/bin:$PATH
 $ which Perl

Install meta cpan:

  $ wget https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz
   $ /opt/perl5/bin/perl Makefile.PL
   $ make
   $ make test
   $ sudo make install

Tell RT to use metacpan:

   $ export RT_FIX_DEPS_CMD='/opt/perl5/bin/cpanm --sudo --notest'

Configure RT:

./configure --enable-gd --enable-graphviz 

Then you can run make fixdeps

Hope this helps!

2 Likes

Thank you so much, I’ll let you know how it goes.

Hi, I’m trying to follow your steps, but I’m having trouble with “/opt/perl/bin/perl Makefile.PL”. I didn’t have that path so I used “/opt/perl5/bin/perl Makefile.PL”, but I get “Can’t open perl script ‘Makefile.pl’: No such file or directory.”

Any advice for me? I’m using Ubuntu18.04 not 16.04. This is my first time installing RT and I’m struggling. I’m hoping your notes will help me get it setup.

Download the .tar.gz for RT4 in your root/home directory.
Do the install there-
Make sure you use SUDO for everything.
sudo make fixdeps should sort you out too.
It will make a copy of it in /opt/rt4

Sorry for the newbie question, so it isn’t necessary run “/opt/perl/bin/perl Makefile.PL”?

so I used “/opt/perl5/bin/perl Makefile.PL”

There is a typo in my notes, perl5 is correct for the directory name

I get “Can’t open perl script ‘Makefile.pl’: No such file or directory.”

This means you are not in the correct directory containing the Makefile you want to use: cd App-cpanminus-1.7044 I left that step out in the instructions.

The reason for installing this Perl is to have a standalone Perl from the system Perl so that nothing breaks. Before running any Perl commands it is good to run which perl to ensure you are using the one you are installing now.

Godspeed. Installing RT4 was hell.

1 Like

True that, anyone can hire me to install it for them LOL

1 Like