{"id":5146,"date":"2020-03-05T09:09:01","date_gmt":"2020-03-05T06:09:01","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5146"},"modified":"2022-10-01T20:20:31","modified_gmt":"2022-10-01T17:20:31","slug":"install-request-tracker-rt-with-mariadb-on-centos-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-request-tracker-rt-with-mariadb-on-centos-8\/","title":{"rendered":"Install Request Tracker (RT) with MariaDB on CentOS 8"},"content":{"rendered":"\n<p>Welcome to our guide on how to install Request Tracker (RT) with MariaDB on CentOS 8. <a rel=\"noreferrer noopener\" aria-label=\"Request Tracker (RT) (opens in a new tab)\" href=\"https:\/\/bestpractical.com\/\" target=\"_blank\">Request Tracker (RT)<\/a> is an enterprise-grade issue tracking\/ticketing system that allows organizations to keep track of various tasks to be done, tasks completed, and when tasks were (or weren&#8217;t) completed.<\/p>\n\n\n\n<p>It supports seamless email integration, custom workflows, SLA automation and tracking etc. Read more about <a href=\"https:\/\/bestpractical.com\/request-tracker\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"RT features (opens in a new tab)\">RT features<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install Request Tracker (RT) with MariaDB on CentOS 8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Run System update<\/h3>\n\n\n\n<p>To begin with ensure that your system packages are up-to-date.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf update<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Disable SELinux<\/h3>\n\n\n\n<p>Well, I personally do not recommend this step, <strong>BUT<\/strong>, If you do not want to have deal with SELinux permissions denied, simply disable it by executing the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/=enforcing\/=disabled\/' \/etc\/selinux\/config<\/code><\/pre>\n\n\n\n<p>Next, reboot the system to effect the SELinux disablement.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl reboot -i<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Required Packages for RT<\/h3>\n\n\n\n<p>Request Tracker (RT) requires quite a number of packages in order to run. These include Perl and some perl modules, a web server (Nginx or Apache), a backend database (MySQL\/MariaDB, PostgreSQL, SQLite, Oracle).<\/p>\n\n\n\n<p>In this demo, we use MariaDB as a database backend and Apache as the Web server.<\/p>\n\n\n\n<p>Enable EPEL and PowerTools Repos as they contain some of the required dependencies.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf config-manager --set-enabled PowerTools<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm<\/code><\/pre>\n\n\n\n<p>To install required packages, simply execute the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install expat gd graphviz openssl expat-devel gd-devel \\\nopenssl-devel perl perl-CPAN perl-YAML wget screen \\\nmod_fcgid perl-libwww-perl perl-Plack perl-GD \\\nperl-GnuPG-Interface perl-GraphViz perl-Crypt-SMIME  \\\nperl-String-ShellQuote perl-Crypt-X509 perl-LWP-Protocol-https <code>graphviz-deve<\/code>l spawn-fcgi<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf groupinstall \"Development Tools\"<\/code><\/pre>\n\n\n\n<p>Install Apache Web server on CentOS 8<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install httpd<\/code><\/pre>\n\n\n\n<p>Start and enable Apache to run on system boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl enable --now httpd<\/code><\/pre>\n\n\n\n<p>Install MariaDB on CentOS 8<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install mariadb-server<\/code><\/pre>\n\n\n\n<p>Start and enable MariaDB to run on system boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl enable --now mariadb<\/code><\/pre>\n\n\n\n<p>Run the initial security script and remove test databases, anonymous user accounts, disable remote root login&#8230;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql_secure_installation<\/code><\/pre>\n\n\n\n<p>You can as well install and use MariaDB 10.4 instead by following the guide below;<\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\"Install MariaDB 10.4 on CentOS 8 (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-mariadb-10-4-on-centos-8\/\" target=\"_blank\">Install MariaDB 10.4 on CentOS 8<\/a><\/p>\n\n\n\n<p>Install Mail Transfer Agent to allow RT route and deliver mails. Postfix is used in this guide.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf&nbsp;-y install postfix<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Request Tracker (RT) on CentOS 8<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Download RT Tarball<\/h4>\n\n\n\n<p>In this guide, RT is installed on CentOS 8 from the source. As such, navigate to <a rel=\"noreferrer noopener\" aria-label=\"RT downloads page (opens in a new tab)\" href=\"https:\/\/bestpractical.com\/download-page\" target=\"_blank\">RT downloads page<\/a> and grab the latest version of RT archive.<\/p>\n\n\n\n<p>RT 4.4.4 is the <a href=\"https:\/\/docs.bestpractical.com\/release-notes\/rt\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"latest stable release (opens in a new tab)\">latest stable release<\/a> as of this writing.<\/p>\n\n\n\n<p>Simply get the link from the downloads page and pull it using wget command as shown below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/download.bestpractical.com\/pub\/rt\/release\/rt-4.4.4.tar.gz<\/code><\/pre>\n\n\n\n<p>To verify the integrity of the archive, calculate its hash (sha256) and compare it with the value available on the <a rel=\"noreferrer noopener\" aria-label=\"release page (opens in a new tab)\" href=\"https:\/\/docs.bestpractical.com\/release-notes\/rt\/index.html\" target=\"_blank\">release page<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sha256sum rt-4.4.4.tar.gz<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>34c316a4a78d7ee9b95d4391530f9bb3ff3edd99ebbebfac6354ed173e940884  rt-4.4.4.tar.gz<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Unpack RT Archive<\/h4>\n\n\n\n<p>Extract the RT tarball to some directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>tar xzf rt-4.4.4.tar.gz<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Compile and Install RT on CentOS 8<\/h4>\n\n\n\n<p>Navigate to RT archive directory extracted above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cd rt-4.4.4<\/code><\/pre>\n\n\n\n<p>Next execute the <code>configure<\/code> script to adapt RT to the system to ensure that all required dependencies to the build and install RT are available.<\/p>\n\n\n\n<p>Note that you can always set the your preferred options for configure script. Simply utilize the help page for the options to use.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>.\/configure --help<\/code><\/pre>\n\n\n\n<p>Ton run configure script with the default options, execute the command below. RT defaults to installing in \/opt\/rt4 with MySQL as its database.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>.\/configure<\/code><\/pre>\n\n\n\n<p>Once the configure script completes, run the command below to check for any Perl missing dependencies.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make testdeps<\/code><\/pre>\n\n\n\n<p>This script will check if all required dependencies are available and report any that is missing.<\/p>\n\n\n\n<p>Fix missing RT dependencies either by installing the missing dependencies manually or simply executing the <code>make fixdeps<\/code> command as a privileged user.<\/p>\n\n\n\n<p>However, before you can run the fixdeps command, you need to configure the CPAN shell.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/usr\/bin\/perl -MCPAN -e shell<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\nWould you like to configure as much as possible automatically? [yes] <strong>yes<\/strong><\/code><\/pre>\n\n\n\n<p>At the CPAN shell prompt, type quit to exit the shell.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\ncpan shell -- CPAN exploration and modules installation (v2.18)\nEnter 'h' for help.\ncpan[1]&gt; <strong>quit<\/strong><\/code><\/pre>\n\n\n\n<p>Also, CPAN has a tool called <code>cpanm<\/code> that can help the <code>make fixdeps<\/code> command install dependencies. Thus install this tool and set RT to use it to fix deps.<\/p>\n\n\n\n<p>To install c<code>panm<\/code>, execute the commands below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>curl -L https:\/\/cpanmin.us | perl - --sudo App::cpanminus<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cpanm --self-upgrade --sudo<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>which cpanm\n<strong>\/usr\/local\/bin\/cpanm<\/strong><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>export RT_FIX_DEPS_CMD=\/usr\/local\/bin\/cpanm<\/code><\/pre>\n\n\n\n<p>Next, run the fixdeps command;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make fixdeps<\/code><\/pre>\n\n\n\n<p>The command may take sometime as it tries to fix the missing dependencies. Ensure that all the dependency issues is sorted before you can proceed.<\/p>\n\n\n\n<p>You can always install or reinstall or force the installation of dependencies using cpanm.<\/p>\n\n\n\n<p>For example, assume you have a few missing dependencies after running the <code>make fixdeps<\/code> command;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make testdeps | grep -i missing<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n\tHTML::FormatText::WithLinks &gt;= 0.14 ...MISSING\n\tPlack::Handler::Starlet ...MISSING\n\tHTML::FormatText::WithLinks::AndTables &gt;= 0.06 ...MISSING\nSOME DEPENDENCIES WERE MISSING.\nCORE missing dependencies:\n\tHTML::FormatText::WithLinks &gt;= 0.14 ...MISSING\n\tPlack::Handler::Starlet ...MISSING\n\tHTML::FormatText::WithLinks::AndTables &gt;= 0.06 ...MISSING\nmake: *** [Makefile:272: testdeps] Error 1\n<\/code><\/pre>\n\n\n\n<p>You can thus install these missing dependencies using <code>cpanm<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cpanm --install Plack::Handler::Starlet<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cpanm --install HTML::FormatText::WithLinks<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cpanm --install HTML::FormatText::WithLinks::AndTables<\/code><\/pre>\n\n\n\n<p>Check missing dependencies again;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make testdeps<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n...\nMAILGATE dependencies:\n\tLWP::Protocol::https ...found\n\tPod::Usage ...found\n\tLWP::UserAgent &gt;= 6.02 ...found\n\tMozilla::CA ...found\n\tGetopt::Long ...found\nMYSQL dependencies:\n\tDBD::mysql &gt;= 2.1018 ...found\nSMIME dependencies:\n\tCrypt::X509 ...found\n\tFile::Which ...found\n\tString::ShellQuote ...found\n\nAll dependencies have been found.\n<\/code><\/pre>\n\n\n\n<p>If you get the last line, <strong>All dependencies have been found<\/strong>, you are good to go.<\/p>\n\n\n\n<p>Once the dependencies issue is sorted, install RT. Note that this command will install RT on the <code><strong>\/opt\/rt4<\/strong><\/code> directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>make install<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n...\nCongratulations. RT is now installed.\n\n\nYou must now configure RT by editing <strong>\/opt\/rt4\/etc\/RT_SiteConfig.pm<\/strong>.\n\n(You will definitely need to set RT's database password in \n\/opt\/rt4\/etc\/RT_SiteConfig.pm before continuing. Not doing so could be \nvery dangerous.  Note that you do not have to manually add a \ndatabase user or set up a database for RT.  These actions will be \ntaken care of in the next step.)\n\nAfter that, you need to initialize RT's database by running\n 'make initialize-database'\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring RT from Web Interface<\/h3>\n\n\n\n<p>After the installation completes, you can now proceed to configure RT via web interface by running it on a standalone mode.<\/p>\n\n\n\n<p>To enable external access to RT, open web server port on firewall. In this demo, we are using port 80\/tcp. Hence, execute the command below to open port 80 on firewall.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --add-port=80\/tcp --permanent<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>To be able to access RT from browser, stop your web server is running and run the script below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl stop httpd<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/opt\/rt4\/sbin\/rt-server<\/code><\/pre>\n\n\n\n<p>If using a custom port, be sure to open the port on firewall and specify the port using rt-server script above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/opt\/rt4\/sbin\/rt-server <code>--port 8080<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\n<strong>HTTP::Server::PSGI: Accepting connections at http:\/\/0:80\/<\/strong><\/code><\/pre>\n\n\n\n<p>Access RT from browser to proceed with configuration. Note it accepting connections on <strong>http:\/\/0:80\/<\/strong> in our case. Hence can access it using IP address or resolvable hostname of your server, <code><strong>http:\/\/server_IP_OR_hostname<\/strong><\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Database Connection Settings<\/h3>\n\n\n\n<p>From the RT interface, click <strong>Let's go!<\/strong> to select the database type. MySQL\/MariaDB is used in this guide.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1357\" height=\"490\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/database-type.png\" alt=\"Choose RT database\" class=\"wp-image-5165\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/database-type.png?v=1583647006 1357w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/database-type-768x277.png?v=1583647006 768w\" sizes=\"(max-width: 1357px) 100vw, 1357px\" \/><\/figure>\n\n\n\n<p>Click Next to create RT database and database user. Ensure you provide credentials for administrative user.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1349\" height=\"570\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/create-rt-database.png\" alt=\"Create rt database centos 8\" class=\"wp-image-5166\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/create-rt-database.png?v=1583647040 1349w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/create-rt-database-768x325.png?v=1583647040 768w\" sizes=\"(max-width: 1349px) 100vw, 1349px\" \/><\/figure>\n\n\n\n<p>To verify database connection, click <strong>Check Database Connectivity<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"421\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/check-db-conn.png\" alt=\"RT database connection centos 8\" class=\"wp-image-5167\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/check-db-conn.png?v=1583647065 1348w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/check-db-conn-768x240.png?v=1583647065 768w\" sizes=\"(max-width: 1348px) 100vw, 1348px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Customize RT<\/h3>\n\n\n\n<p>Click Next to customize your RT with the most basic configurations needed to get it up and running.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1357\" height=\"545\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-basics.png\" alt=\"RT basic settings centos 8\" class=\"wp-image-5168\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-basics.png?v=1583647125 1357w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-basics-768x308.png?v=1583647125 768w\" sizes=\"(max-width: 1357px) 100vw, 1357px\" \/><\/figure>\n\n\n\n<p>Set the path to your MTA and RT admin email.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1352\" height=\"442\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-mta.png\" alt=\"RT MTA postfix centos 8\" class=\"wp-image-5169\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-mta.png?v=1583647142 1352w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-mta-768x251.png?v=1583647142 768w\" sizes=\"(max-width: 1352px) 100vw, 1352px\" \/><\/figure>\n\n\n\n<p>Set the comments and correspondences addresses.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1358\" height=\"468\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/comments-address.png\" alt=\"RT Comments and correspondences addresses CentOS 8\" class=\"wp-image-5170\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/comments-address.png?v=1583647179 1358w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/comments-address-768x265.png?v=1583647179 768w\" sizes=\"(max-width: 1358px) 100vw, 1358px\" \/><\/figure>\n\n\n\n<p>Click Initialize the database to create RT's database and insert initial metadata.<\/p>\n\n\n\n<p>Once the database is initialized, click <strong>Finish installation<\/strong> to complete the setup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1356\" height=\"429\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/finish-rt-setup.png\" alt=\"\" class=\"wp-image-5171\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/finish-rt-setup.png?v=1583647253 1356w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/finish-rt-setup-768x243.png?v=1583647253 768w\" sizes=\"(max-width: 1356px) 100vw, 1356px\" \/><\/figure>\n\n\n\n<p>You are then taken to RT login page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1356\" height=\"555\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/RT-login.png\" alt=\"\" class=\"wp-image-5172\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/RT-login.png?v=1583647328 1356w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/RT-login-768x314.png?v=1583647328 768w\" sizes=\"(max-width: 1356px) 100vw, 1356px\" \/><\/figure>\n\n\n\n<p>Note that RT is still running on standalone mode. Press Ctrl+c from the terminal to stop the <strong><code>\/opt\/rt4\/sbin\/rt-server<\/code><\/strong> script and proceed to configure web server for RT.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure RT Web Server on CentOS 8<\/h3>\n\n\n\n<p>Edit the <code><strong>\/etc\/httpd\/conf.d\/fcgid.conf<\/strong><\/code> configuration file and add the line,<code>FcgidMaxRequestLen 1073741824<\/code>, to define maximum HTTP request length.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/httpd\/conf.d\/fcgid.conf<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n...\n# Use FastCGI to process .fcg .fcgi &amp; .fpl scripts\nAddHandler fcgid-script fcg fcgi fpl\n\n# Sane place to put sockets and shared memory file\nFcgidIPCDir \/run\/mod_fcgid\nFcgidProcessTableFile \/run\/mod_fcgid\/fcgid_shm\n<strong>FcgidMaxRequestLen 1073741824<\/strong>\n<\/code><\/pre>\n\n\n\n<p>Create RT web configuration file with the content below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/httpd\/conf.d\/rt.kifarunix-demo.com.conf<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\n&lt;VirtualHost rt.kifarunix-demo.com:80&gt;\n    AddDefaultCharset UTF-8\n\n    ScriptAlias \/ \/opt\/rt4\/sbin\/rt-server.fcgi\/\n\n    DocumentRoot \"\/opt\/rt4\/share\/html\"\n    &lt;Location \/&gt;\n        Require all granted\n\n        Options +ExecCGI\n        AddHandler fcgid-script fcgi\n    &lt;\/Location&gt;\n&lt;\/VirtualHost&gt;\n<\/code><\/pre>\n\n\n\n<p>Save the configuration file and quit.<\/p>\n\n\n\n<p>Check for Apache syntax errors.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>httpd -t<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>Syntax OK<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configure RT Logging<\/h3>\n\n\n\n<p>Logging in RT is controlled from SiteConfig configuration file. There are multiple logging options for RT as described on <a href=\"https:\/\/rt-wiki.bestpractical.com\/wiki\/LogsConfig\" target=\"_blank\" rel=\"noopener\">LogsConfig Wiki<\/a>. However, we are going to configure RT logging to a file in this guide.<\/p>\n\n\n\n<p>Open the <code><strong>RT_SiteConfig.pm<\/strong><\/code> configuration file for editing.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/opt\/rt4\/etc\/RT_SiteConfig.pm<\/code><\/pre>\n\n\n\n<p>At the end of configuration files, insert the following lines making appropriate changes as per your environment setup.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>Set($LogToFile,      'debug');\nSet($LogToFileNamed, 'rt.kifarunix-demo.com.log');\nSet($LogDir,         '\/var\/log\/rt4');<\/code><\/pre>\n\n\n\n<p>Save and quit the configuration file.<\/p>\n\n\n\n<p>Check the configuration syntax;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>perl -c \/opt\/rt4\/etc\/RT_SiteConfig.pm<\/code><\/pre>\n\n\n\n<p>Create the Logging directory as specified by the <strong>$LogDir<\/strong> parameter.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkdir \/var\/log\/rt4<\/code><\/pre>\n\n\n\n<p>Ensure that the owner of the logging directory is Apache;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R apache:apache \/var\/log\/rt4<\/code><\/pre>\n\n\n\n<p><strong>Be sure to always check this configuration file for any RT errors<\/strong>.<\/p>\n\n\n\n<p>Start Apache<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl start httpd<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Accessing RT<\/h3>\n\n\n\n<p>You can now access your RT from browser using the address <code>http:\/\/rt-server-IP_OR_hostname<\/code>.<\/p>\n\n\n\n<p>Use <strong><code>root<\/code><\/strong> as the username and password configured while setting up RT.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1357\" height=\"558\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/login-1.png\" alt=\"RT login page on CentOS 8\" class=\"wp-image-5173\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/login-1.png?v=1583647389 1357w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/login-1-768x316.png?v=1583647389 768w\" sizes=\"(max-width: 1357px) 100vw, 1357px\" \/><\/figure>\n\n\n\n<p>When you successfully log in, you land on RT at a glance web interface.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1350\" height=\"565\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-at-a-glance.png\" alt=\"RT at a glance on CentOS 8\" class=\"wp-image-5174\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-at-a-glance.png?v=1583647417 1350w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/rt-at-a-glance-768x321.png?v=1583647417 768w\" sizes=\"(max-width: 1350px) 100vw, 1350px\" \/><\/figure>\n\n\n\n<p>RT is now installed and running. However, for it to be useable, there is quite a lot that needs to be done. We will cover how to configure RT in our next guides.<\/p>\n\n\n\n<p>That marks the end of our guide on how to install Request Tracker (RT) with MariaDB on CentOS 8.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reference<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\"RT 4.4.4 Documentation README (opens in a new tab)\" href=\"https:\/\/docs.bestpractical.com\/rt\/4.4.4\/README.html\" target=\"_blank\">RT 4.4.4 Documentation README<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-haproxy-on-centos-8\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install and Setup HAProxy on CentOS 8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-configure-snmp-on-centos-8\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install and Configure SNMP on CentOS 8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/configure-bind-dns-server-using-webmin-on-centos-8\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Configure BIND DNS Server using Webmin on CentOS 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to our guide on how to install Request Tracker (RT) with MariaDB on CentOS 8. Request Tracker (RT) is an enterprise-grade issue tracking\/ticketing system<\/p>\n","protected":false},"author":3,"featured_media":14257,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,1323,1322],"tags":[1326,1325,1327,1839,1324,1328],"class_list":["post-5146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-request-tracker-rt","category-ticketing-systems","tag-install-rt-on-centos-8","tag-request-tracker","tag-request-tracker-centos-8","tag-request-tracker-selinux-permissions","tag-rt","tag-ticketing-system","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5146"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=5146"}],"version-history":[{"count":12,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5146\/revisions"}],"predecessor-version":[{"id":14258,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5146\/revisions\/14258"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/14257"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=5146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=5146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=5146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}