<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skuervers</id>
	<title>Request Tracker Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Skuervers"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/wiki/Special:Contributions/Skuervers"/>
	<updated>2026-08-22T11:41:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26575</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26575"/>
		<updated>2018-04-12T16:08:38Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Added final RT customization and made minor corrections to the document.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for CentOS 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  There is a separate CentOS 6.9 install at https://rt-wiki.bestpractical.com/wiki/CentOS6Install.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
 * Note that the EPEL repository is not required for installation on CentOS 7.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE: We use PostgreSQL as the DB which allows us to enable full text search. (This is a change from the previous version of the document which used MySQL/MariaDB.)&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql, where &#039;xxx&#039; is the &#039;password&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE: Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new sha256sum.txt file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Confirm the GPG key signatures&lt;br /&gt;
&amp;lt;pre&amp;gt;gpg rt-4.4.2.tar.gz.asc&lt;br /&gt;
gpg --keyserver pgpkeys.mit.edu --recv-key XXX&lt;br /&gt;
gpg rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE: identify the RSA key ID from the first and replace XXX with the key (RSA key ID 31440520 as of 12 Apr 18)&lt;br /&gt;
## Extract the files&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Configure firewalld to open port 80&lt;br /&gt;
&amp;lt;pre&amp;gt;firewall-cmd --zone=public --add-port=80/tcp --permanent&lt;br /&gt;
firewall-cmd --reload&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Note:  This is an example only, which provides full access to the http port..  Configure your firewall as per site policies.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
#&lt;br /&gt;
# With minor changes, this configuration is based on the original documentation:&lt;br /&gt;
# https://docs.bestpractical.com/rt/4.4.2/web_deployment.html&lt;br /&gt;
#&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 use this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
&lt;br /&gt;
  # For Centos6/Apache 2.2 use these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Further RT Customization&lt;br /&gt;
 * These steps are not mandatory, and can be skipped if not desired.&lt;br /&gt;
## Enable Full Text Indexing&lt;br /&gt;
 * This command modifies the database to enable full text indexing&lt;br /&gt;
 * Run:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-setup-fulltext-index --no-attachments --dba-password XXX&amp;lt;/pre&amp;gt;&lt;br /&gt;
   * NOTE:  XXX is the postgres DB user password&lt;br /&gt;
   * DB Table:     AttachmentsIndex&lt;br /&gt;
   * Column Name:  ContentIndex&lt;br /&gt;
   * Index:        GIN&lt;br /&gt;
 * As the last command will leave the postgres DB password in the command history, clear the relevant history record:&lt;br /&gt;
&amp;lt;pre&amp;gt;history&lt;br /&gt;
history -d &amp;lt;number&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
   * NOTE:  &amp;lt;number&amp;gt; reflects the line number with the --dba-password statement&lt;br /&gt;
## Prepare for Offline Attachments&lt;br /&gt;
 * This enables the migration of embedded attachments from the database to a local filesystem&lt;br /&gt;
 * Create the directory to store attached files&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir /opt/rt4-atts&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify Site Configuration for fulltext indexing and offline attachments&lt;br /&gt;
 * Modify &amp;lt;code&amp;gt;/opt/rt4/etc/RT_SiteConfig.pm&amp;lt;/code&amp;gt;, inserting the following above the final &amp;lt;code&amp;gt;1;&amp;lt;/code&amp;gt; line.&lt;br /&gt;
&amp;lt;pre&amp;gt;# enable FullTextSearch&lt;br /&gt;
Set( %FullTextSearch,&lt;br /&gt;
    Enable     =&amp;gt; 1,&lt;br /&gt;
    Indexed    =&amp;gt; 1,&lt;br /&gt;
    Column     =&amp;gt; &#039;ContentIndex&#039;,&lt;br /&gt;
    Table      =&amp;gt; &#039;AttachmentsIndex&#039;,&lt;br /&gt;
);&lt;br /&gt;
# enable external file storage&lt;br /&gt;
Set(%ExternalStorage,&lt;br /&gt;
    Type =&amp;gt; &#039;Disk&#039;,&lt;br /&gt;
    Path =&amp;gt; &#039;/opt/rt4-atts&#039;,&lt;br /&gt;
);&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Create RT crontab entry&lt;br /&gt;
 * &lt;br /&gt;
 * Create &amp;lt;code&amp;gt;/etc/cron.d/rt&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&amp;lt;pre&amp;gt;# Request Tracker cron.d/rt file&lt;br /&gt;
&lt;br /&gt;
# For details see man 3 crontabs&lt;br /&gt;
&lt;br /&gt;
# Example of job definition:&lt;br /&gt;
# .---------------- minute (0 - 59)&lt;br /&gt;
# |  .------------- hour (0 - 23)&lt;br /&gt;
# |  |  .---------- day of month (1 - 31)&lt;br /&gt;
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...&lt;br /&gt;
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat&lt;br /&gt;
# |  |  |  |  |&lt;br /&gt;
# *  *  *  *  * user-name command to be executed&lt;br /&gt;
&lt;br /&gt;
# Request Tracker crontab entries&lt;br /&gt;
  # attachments - daily moving of large attachments from DB to file system&lt;br /&gt;
  0 0 * * * root /opt/rt4/sbin/rt-externalize-attachments&lt;br /&gt;
  # indexer - daily indexing of db for fulltext search      &lt;br /&gt;
  0 0 * * * root /opt/rt4/sbin/rt-fulltext-indexer --quiet&lt;br /&gt;
  # email digests - RT4 email digest processes&lt;br /&gt;
  0 0 * * * root /opt/rt4/sbin/rt-email-digest -m daily&lt;br /&gt;
  0 0 * * 0 root /opt/rt4/sbin/rt-email-digest -m weekly&lt;br /&gt;
  0 * * * * root /opt/rt4/sbin/rt-email-dashboards&lt;br /&gt;
  # clean sessions - once a day blow away any open sessions &lt;br /&gt;
  0 0 * * * root /opt/rt4/sbin/rt-clean-sessions 6H&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Reboot server to confirm service restart&lt;br /&gt;
 * It is recommended that you reboot the server to confirm all services restart and provide RT.&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26574</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26574"/>
		<updated>2018-04-11T18:49:14Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Minor tweaks to install sequence.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for CentOS 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  There is a separate CentOS 6.9 install at https://rt-wiki.bestpractical.com/wiki/CentOS6Install.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
 * Note that the EPEL repository is not required for installation on CentOS 7.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE: We use PostgreSQL as the DB which allows us to enable full text search. (This is a change from the previous version of the document which used MySQL/MariaDB.)&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql, where &#039;xxx&#039; is the &#039;password&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE: Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new sha256sum.txt file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Extract the files&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Configure firewalld to open port 80&lt;br /&gt;
&amp;lt;pre&amp;gt;firewall-cmd --zone=public --add-port=80/tcp --permanent&lt;br /&gt;
firewall-cmd --reload&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Note:  This is an example only, which provides full access to the http port..  Configure your firewall as per site policies.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 use this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
&lt;br /&gt;
  # For Centos6/Apache 2.2 use these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26573</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26573"/>
		<updated>2018-04-11T17:39:51Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Removed CentOS 6 and streamlined the install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for CentOS 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  There is a separate CentOS 6.9 install at https://rt-wiki.bestpractical.com/wiki/CentOS6Install.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
 * Note that the EPEL repository is not required for installation on CentOS 7.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE: We use PostgreSQL as the DB which allows us to enable full text search. (This is a change from the previous version of the document which used MySQL/MariaDB.)&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql, where &#039;xxx&#039; is the &#039;password&#039;:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE: Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new sha256sum.txt file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Extract the files&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
 * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
 * (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26570</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26570"/>
		<updated>2018-04-01T17:49:47Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
 * Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Restart postgresql for the changed configuration&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the installation of the &amp;lt;code&amp;gt;MooX::Late&amp;lt;/code&amp;gt; module, a dependency of &amp;lt;code&amp;gt;Gpg::Interface&amp;lt;/code&amp;gt; and then rerun fixdeps.&lt;br /&gt;
&amp;lt;pre&amp;gt;cpanm MooX::Late --force&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * With the local database instance, you will need to leave the Database Host and Database Port field empty on the Check Database Credentials page.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80 to access the web page remotely.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  # Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  Order allow,deny&lt;br /&gt;
  Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and insert the following line after the SSH (dport 22) line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Then restart iptables&lt;br /&gt;
   &amp;lt;pre&amp;gt;service iptables restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26569</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26569"/>
		<updated>2018-04-01T17:44:53Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
 * Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Restart postgresql for the changed configuration&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the installation of the &amp;lt;code&amp;gt;MooX::Late&amp;lt;/code&amp;gt; module, a dependency of &amp;lt;code&amp;gt;Gpg::Interface&amp;lt;/code&amp;gt; and then rerun fixdeps.&lt;br /&gt;
&amp;lt;pre&amp;gt;cpanm MooX::Late --force&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * With the local database instance, you will need to leave the Database Host and Database Port field empty on the Check Database Credentials page.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80 to access the web page remotely.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  # Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  Order allow,deny&lt;br /&gt;
  Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26568</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26568"/>
		<updated>2018-04-01T17:20:45Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
 * Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Restart postgresql for the changed configuration&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the installation of the &amp;lt;code&amp;gt;MooX::Late&amp;lt;/code&amp;gt; module, a dependency of &amp;lt;code&amp;gt;Gpg::Interface&amp;lt;/code&amp;gt; and then rerun fixdeps.&lt;br /&gt;
&amp;lt;pre&amp;gt;cpanm MooX::Late --force&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * With the local database instance, you will need to leave the Database Host and Database Port field empty on the Check Database Credentials page.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80 to access the web page remotely.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26567</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26567"/>
		<updated>2018-04-01T17:14:50Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
 * Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Restart postgresql for the changed configuration&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql restart&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the installation of the &amp;lt;code&amp;gt;MooX::Late&amp;lt;/code&amp;gt; module, a dependency of &amp;lt;code&amp;gt;Gpg::Interface&amp;lt;/code&amp;gt; using&lt;br /&gt;
&amp;lt;pre&amp;gt;cpanm MooX::Late --force&amp;lt;/pre&amp;gt;, and then rerun fixdeps.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26566</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26566"/>
		<updated>2018-04-01T17:08:27Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Updated make fixdeps sections to reflect forced cpanm builds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the installation of the &amp;lt;code&amp;gt;MooX::Late&amp;lt;/code&amp;gt; module, a dependency of &amp;lt;code&amp;gt;Gpg::Interface&amp;lt;/code&amp;gt; using&lt;br /&gt;
&amp;lt;pre&amp;gt;cpanm MooX::Late --force&amp;lt;/pre&amp;gt;, and then rerun fixdeps.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26565</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26565"/>
		<updated>2018-04-01T16:24:59Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Added confirmation of downloaded RT files.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir rt&lt;br /&gt;
cd rt&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Verify downloads&lt;br /&gt;
 * NOTE:  Release notes are found at https://bestpractical.com/release-notes/rt/4.4.2&lt;br /&gt;
 * extract the sha256sums from the release notes online and add them to a new &amp;lt;code&amp;gt;sha256sum.txt&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&amp;lt;pre&amp;gt;b2e366e18c8cb1dfd5bc6c46c116fd28cfa690a368b13fbf3131b21a0b9bbe68  rt-4.4.2.tar.gz&lt;br /&gt;
2185c2be31b352ad0a7605f9a4e4720b2c3607df75aae1c0cbace9eb9e6fcef8  rt-4.4.2.tar.gz.asc&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * confirm the files:&lt;br /&gt;
&amp;lt;pre&amp;gt;sha256sum -c sha256sum.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26564</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26564"/>
		<updated>2018-04-01T16:02:28Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit &amp;lt;code&amp;gt;/var/lib/pgsql/data/pg_hba.conf&amp;lt;/code&amp;gt; and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;pre&amp;gt;# &amp;quot;local&amp;quot; is for Unix domain socket connections only&lt;br /&gt;
#local   all         all                               ident&lt;br /&gt;
local   all         all                               md5&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26563</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26563"/>
		<updated>2018-04-01T15:55:29Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
## Reboot the OS&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26562</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26562"/>
		<updated>2018-04-01T15:53:11Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid on CentOS 6.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26561</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26561"/>
		<updated>2018-04-01T15:47:37Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS, update and EPEL repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26560</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26560"/>
		<updated>2018-04-01T15:38:34Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26559</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26559"/>
		<updated>2018-04-01T15:37:57Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: /* Installation Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26558</id>
		<title>CentOS6Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS6Install&amp;diff=26558"/>
		<updated>2018-04-01T15:36:19Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: First draft - pulled info from the CentOS7 page previously written.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 6.9 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Cloned from original document for CentOS 7 install.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 6.9 for an internet-connected server.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 6.9 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.2 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * mod_fcgid requires enabling the EPEL repository&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install epel-release&lt;br /&gt;
yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTES:  We use PostgreSQL as the DB which allows us to enable full text search.  We need to enable the EPEL repository to install mod_fcgid.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;service postgresql initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of some perl module via &amp;lt;code&amp;gt;cpanm Module::SubModule --force&amp;lt;/code&amp;gt;.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
 * NOTE:  You will likely need to disable your firewall or open port 80.  &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt; will disable the firewall temporarily.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;service httpd start&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify iptables&lt;br /&gt;
 * Complete your iptables configuration to suite your local requirements.&lt;br /&gt;
 * To open the firewall for port 80, edit the &amp;lt;code&amp;gt;/etc/sysconfig/iptables&amp;lt;/code&amp;gt; file and add the following line:&lt;br /&gt;
   &amp;lt;pre&amp;gt;insert sample line here&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Reboot &lt;br /&gt;
 * conduct a reboot to confirm the web server restarts and enable provides access to RT.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser, login using the root user and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26557</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26557"/>
		<updated>2018-03-25T04:41:59Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Fixed configure statement to reflect postgresql database&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for Centos 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.9 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.9 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conduct&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  Instead of MySQL/MariaDB (as per the previous version of this document), we&#039;ve switched to PostgreSQL to enable future full text search enablement.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache --with-db-type=Pg&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
 * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
 * (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
 * On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26556</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26556"/>
		<updated>2018-03-19T02:16:57Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Format corrections - moved export command to after the make configure command.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for Centos 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.9 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.9 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conduct&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  Instead of MySQL/MariaDB (as per the previous version of this document), we&#039;ve switched to PostgreSQL to enable future full text search enablement.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access&lt;br /&gt;
Configure PostgreSQL to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
 * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
 * (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
 * On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26555</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26555"/>
		<updated>2018-03-19T02:13:09Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Updated document to reflect RT 4.4.2 and CentOS 7.4 (and 6.9) with PostgreSQL vice MariaDB&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.2 installation on CentOS 7.4.1708 ==&lt;br /&gt;
&lt;br /&gt;
NOTE:  Original Document was for CentOS 7.2 and RT 4.4.1 with MySQL.  Updated for Centos 7.4, RT 4.4.2 with PostgreSQL.&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.2 on CentOS/RHEL 7.4 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.9 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.9 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.4.1708 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conduct&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz openssl expat-devel gd-devel graphviz-devel  openssl-devel perl perl-CPAN wget screen mod_fcgid postgresql-server postgresql-devel&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  Instead of MySQL/MariaDB (as per the previous version of this document), we&#039;ve switched to PostgreSQL to enable future full text search enablement.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable postgresql.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start postgresql.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig postgresql on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service postgresql start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Initialize the database:&lt;br /&gt;
&amp;lt;pre&amp;gt;postgresql-setup initdb&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure postgres user password for postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo -u postgres psql&lt;br /&gt;
  ALTER USER postgres PASSWORD &#039;xxx&#039;;&lt;br /&gt;
  \q&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB postgres password for the local instance of postgresql&lt;br /&gt;
## Reconfigure postgres local user access to use md5 passwords (needed for RT).  Edit /var/lib/pgsql/data/pg_hba.conf and modify the following line from peer to md5:&lt;br /&gt;
&amp;lt;code&amp;gt;local  all  all                md5&amp;lt;/code&amp;gt;&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.2.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.2.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.2&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.9, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
 * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
 * (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
 * On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26413</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26413"/>
		<updated>2016-10-12T15:05:47Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
 * Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
 * Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
 * httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
 * Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
 * (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * Reboot the OS.&lt;br /&gt;
 * If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
 * reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig mysqld on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service mysqld start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  This step configures the internal DB root password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
 * (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
 * Access the server using a web browser to access the http port.&lt;br /&gt;
 * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
 * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 * Modify RT to allow web access using a trailing /rt&lt;br /&gt;
 * (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
 * CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
 * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
 * (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
 * On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
 * Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26412</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26412"/>
		<updated>2016-10-12T15:04:31Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
 * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig mysqld on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service mysqld start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
* On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26411</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26411"/>
		<updated>2016-10-12T15:04:05Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
#* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig mysqld on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service mysqld start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
* On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26410</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26410"/>
		<updated>2016-10-12T15:02:17Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8:&lt;br /&gt;
&amp;lt;pre&amp;gt;chkconfig mysqld on&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
service mysqld start&lt;br /&gt;
service httpd stop&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* CentOS 6.8: &amp;lt;code&amp;gt;service httpd start&amp;lt;/code&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
* On CentOS 6.8, you will need to modify your iptables configuration, or stop iptables using &amp;lt;code&amp;gt;service iptables stop&amp;lt;/code&amp;gt;&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26409</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26409"/>
		<updated>2016-10-12T14:59:21Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Start the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26408</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26408"/>
		<updated>2016-10-12T14:58:24Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;SELINUX=disabled&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26407</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26407"/>
		<updated>2016-10-12T14:57:51Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
* (!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
* (!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
* (!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
* (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;lt;code&amp;gt;systemctl stop firewalld&amp;lt;/code&amp;gt; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your site customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26406</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26406"/>
		<updated>2016-10-12T14:55:50Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
This document provides a quick methodology for installing RT 4.4.1 on CentOS/RHEL 7.2 for an internet-connected server.  It should be suitable with minor modifications for installation on CentOS 6.8 also.  Where necessary notes about the different install steps for CentOS/RHEL 6.8 are indicated below.&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
(!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26405</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26405"/>
		<updated>2016-10-12T14:53:00Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
(!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26404</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26404"/>
		<updated>2016-10-12T14:52:16Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Reboot the OS.&lt;br /&gt;
* If you are continuing to next step immediately, you do not need to reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
(!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26403</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26403"/>
		<updated>2016-10-12T14:51:15Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser to access the http port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT:&lt;br /&gt;
* Modify RT to allow web access using a trailing /rt&lt;br /&gt;
(!) This is a personal preference.  The web server example in the next section assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;Set( $WebPath, &#039;/rt&#039; );&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;FcgidMaxRequestLen 1073741824&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26402</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26402"/>
		<updated>2016-10-12T14:46:22Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
# Assumptions&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm the dependencies are complete:&lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT for hostname.domain.name/rt directory&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;pre&amp;gt;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/pre&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26401</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26401"/>
		<updated>2016-10-12T14:41:58Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
# Configure Supporting Software&lt;br /&gt;
## Configure root password for mariadb:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
## Install CPAN minus.&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Dependencies and Installation&lt;br /&gt;
## Get RT and extract to /tmp.&lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure RT:&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Test the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Install the dependencies:&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
## Confirm the dependencies are complete:&lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
## Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
# RT Configuration using Web Interface&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
## Run the first run installation instance:&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Configure using the web interface.&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
## Shutdown the rt-server instance.&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
# Configure RT for hostname.domain.name/rt directory&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
## Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure web server&lt;br /&gt;
## Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
## Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
## Start apache:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
## Modify firewalld&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
# Installation Complete&lt;br /&gt;
## Access RT&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26400</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26400"/>
		<updated>2016-10-12T14:37:35Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
# OS Installation and Initial Configuration&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
## Install OS.&lt;br /&gt;
* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
## Install prerequisites for RT from OS repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
## Patch OS&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
## Adjust local services:&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
 # Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
 # Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
 # Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
&lt;br /&gt;
 # Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
 # Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure using the web interface.&lt;br /&gt;
&lt;br /&gt;
   #* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
   #* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
 # Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
   #* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
 # Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
 # Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Start apache:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Modify firewalld&lt;br /&gt;
&lt;br /&gt;
   #* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
   (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
 # Access RT&lt;br /&gt;
&lt;br /&gt;
   #* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26399</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26399"/>
		<updated>2016-10-12T14:35:16Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
 # OS Installation and Initial Configuration&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
 ## Install OS.&lt;br /&gt;
&lt;br /&gt;
     * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
 ## Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    * NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
 ## Patch OS&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     * If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
 ## Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     * reboot the OS&lt;br /&gt;
&lt;br /&gt;
 ## Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
     * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
 # Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
 # Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
 # Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
&lt;br /&gt;
 # Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
 # Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure using the web interface.&lt;br /&gt;
&lt;br /&gt;
   #* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
   #* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
 # Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
   #* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
 # Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
 # Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Start apache:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Modify firewalld&lt;br /&gt;
&lt;br /&gt;
   #* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
   (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
 # Access RT&lt;br /&gt;
&lt;br /&gt;
   #* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26398</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26398"/>
		<updated>2016-10-12T14:33:43Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
 # Install OS.&lt;br /&gt;
&lt;br /&gt;
     * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
 # Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
 # Patch OS&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
 # Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* reboot the OS&lt;br /&gt;
&lt;br /&gt;
 # Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
 # Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
 # Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
 # Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
&lt;br /&gt;
 # Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
 # Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure using the web interface.&lt;br /&gt;
&lt;br /&gt;
   #* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
   #* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
 # Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
   #* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
 # Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
 # Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Start apache:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Modify firewalld&lt;br /&gt;
&lt;br /&gt;
   #* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
   (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
 # Access RT&lt;br /&gt;
&lt;br /&gt;
   #* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26397</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26397"/>
		<updated>2016-10-12T14:32:38Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Formatting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
 # Install OS.&lt;br /&gt;
&lt;br /&gt;
   #* Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
 # Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
 # Patch OS&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
 # Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* reboot the OS&lt;br /&gt;
&lt;br /&gt;
 # Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
 # Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
 # Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
 # Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   #* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
&lt;br /&gt;
 # Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
 # Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure using the web interface.&lt;br /&gt;
&lt;br /&gt;
   #* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
   #* Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
 # Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
   #* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
 # Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
 # Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Start apache:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Modify firewalld&lt;br /&gt;
&lt;br /&gt;
   #* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
   (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
 # Access RT&lt;br /&gt;
&lt;br /&gt;
   #* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26396</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26396"/>
		<updated>2016-10-12T14:31:08Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Additional formatting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
 # Install OS.&lt;br /&gt;
&lt;br /&gt;
   * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
 # Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
 # Patch OS&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
 # Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * reboot the OS&lt;br /&gt;
&lt;br /&gt;
 # Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
 # Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
 # Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
 # Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure RT:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   * NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the built in tests for GD.&lt;br /&gt;
&lt;br /&gt;
 # Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
 # Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Configure using the web interface.&lt;br /&gt;
&lt;br /&gt;
   * Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
   * Configure the RT instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
 # Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
   * When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
 # Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
 # Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Start apache:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 # Modify firewalld&lt;br /&gt;
&lt;br /&gt;
   * Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
   (!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
 # Access RT&lt;br /&gt;
&lt;br /&gt;
   * Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26395</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26395"/>
		<updated>2016-10-12T14:27:03Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Edit.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
 # Install OS.&lt;br /&gt;
&lt;br /&gt;
  * Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
 # Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the build in tests for GD.&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
# Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld&lt;br /&gt;
&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
# Access RT&lt;br /&gt;
&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26394</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26394"/>
		<updated>2016-10-12T14:26:11Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: /* RT 4.4.1 installation on CentOS 7.2.1511 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the build in tests for GD.&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
# Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld&lt;br /&gt;
&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
# Access RT&lt;br /&gt;
&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26393</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26393"/>
		<updated>2016-10-12T14:24:10Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Minor fix.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
NOTE:  I&#039;m tracking the formatting is out of control on this page.  I&#039;ll be editing it to repair it.  The text here is functional, I just need to work on the wiki markup formatting!&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  On previous versions of CentOS/RHEL, replace the mariadb-server and mariadb-devel RPMs above with mysql-server and mysql-devel.&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL/CentOS 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the build in tests for GD.&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
# Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld&lt;br /&gt;
&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
# Access RT&lt;br /&gt;
&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26392</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26392"/>
		<updated>2016-10-12T14:21:18Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Formatting repair mark2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
NOTE:  I&#039;m tracking the formatting is out of control on this page.  I&#039;ll be editing it to repair it.  The text here is functional, I just need to work on the wiki markup formatting!&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;yum update&lt;br /&gt;
reboot the OS.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;&#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
* reboot the OS&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl enable mariadb.service&lt;br /&gt;
systemctl enable httpd.service&lt;br /&gt;
systemctl start mariadb.service&lt;br /&gt;
systemctl stop httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;mysqladmin -u root password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;curl -L http://cpanmin.us | perl - --sudo App::cpanminus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
cd /tmp/rt-4.4.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make testdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make fixdeps&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via &amp;lt;code&amp;gt;cpanm GD --force&amp;lt;/code&amp;gt;, as there is a known issue with one of the build in tests for GD.&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/pre&amp;gt;make testdeps&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;/opt/rt4/sbin/rt-server&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface.  Refer to the RT documentation.&lt;br /&gt;
&lt;br /&gt;
# Shutdown the rt-server instance.&lt;br /&gt;
&lt;br /&gt;
* When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;systemctl start httpd.service&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld&lt;br /&gt;
&lt;br /&gt;
* Complete your firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
# Access RT&lt;br /&gt;
&lt;br /&gt;
* Connect to RT using your web browser and start your customization.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26391</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26391"/>
		<updated>2016-10-11T21:54:22Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
NOTE:  I&#039;m tracking the formatting is out of control on this page.  I&#039;ll be editing it to repair it.  The text here is functional, I just need to work on the wiki markup formatting!&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
 yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 yum update&lt;br /&gt;
 reboot the OS.&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 systemctl enable mariadb.service&lt;br /&gt;
 systemctl enable httpd.service&lt;br /&gt;
 systemctl start mariadb.service&lt;br /&gt;
 systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 mysqladmin -u root password&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
 tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
 cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 /opt/rt4/sbin/rt-server&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26390</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26390"/>
		<updated>2016-10-11T21:51:44Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: And another attempt at minor formatting repairs.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
 yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 yum update&lt;br /&gt;
 reboot the OS.&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 systemctl enable mariadb.service&lt;br /&gt;
 systemctl enable httpd.service&lt;br /&gt;
 systemctl start mariadb.service&lt;br /&gt;
 systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 mysqladmin -u root password&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
 tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
 cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 /opt/rt4/sbin/rt-server&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance using the web interface (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26389</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26389"/>
		<updated>2016-10-11T21:46:56Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: And again...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
 &lt;br /&gt;
 yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
 yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
 &lt;br /&gt;
 yum update&lt;br /&gt;
 reboot the OS.&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 &lt;br /&gt;
 systemctl enable mariadb.service&lt;br /&gt;
 systemctl enable httpd.service&lt;br /&gt;
 systemctl start mariadb.service&lt;br /&gt;
 systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 &lt;br /&gt;
 mysqladmin -u root password&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
 &lt;br /&gt;
 curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
 &lt;br /&gt;
 export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 &lt;br /&gt;
 wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
 tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
 cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 &lt;br /&gt;
 ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
 &lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 &lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
 &lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
 &lt;br /&gt;
 /opt/rt4/sbin/rt-server&lt;br /&gt;
&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
 &lt;br /&gt;
 systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26388</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26388"/>
		<updated>2016-10-11T21:44:11Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Minor formatting (stupid wiki formatting)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
&lt;br /&gt;
 yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
 yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
&lt;br /&gt;
 yum update&lt;br /&gt;
 reboot the OS.&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
&lt;br /&gt;
 systemctl enable mariadb.service&lt;br /&gt;
 systemctl enable httpd.service&lt;br /&gt;
 systemctl start mariadb.service&lt;br /&gt;
 systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u root password&lt;br /&gt;
&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
&lt;br /&gt;
 curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
&lt;br /&gt;
 export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
&lt;br /&gt;
 wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
 tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
 cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
&lt;br /&gt;
 /opt/rt4/sbin/rt-server&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
&lt;br /&gt;
 systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26387</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26387"/>
		<updated>2016-10-11T21:42:42Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Formatting fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
&lt;br /&gt;
# Install prerequisites for RT from OS repository.&lt;br /&gt;
 yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
 yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
 yum update&lt;br /&gt;
 reboot the OS.&lt;br /&gt;
&lt;br /&gt;
* If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
 &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
 systemctl enable mariadb.service&lt;br /&gt;
 systemctl enable httpd.service&lt;br /&gt;
 systemctl start mariadb.service&lt;br /&gt;
 systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
* NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
 mysqladmin -u root password&lt;br /&gt;
* NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
 curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
 export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
 wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
 tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
 cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
 ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
 make fixdeps&lt;br /&gt;
* NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
(!) It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
 /opt/rt4/sbin/rt-server&lt;br /&gt;
* Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
(!) This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
 &#039;&#039;&#039;Set( $WebPath, &#039;/rt&#039; );&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
 &#039;&#039;&#039;FcgidMaxRequestLen 1073741824&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
 &#039;&#039;&#039;# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
 ### Optional apache logs for RT&lt;br /&gt;
 # Ensure that your log rotation scripts know about these files&lt;br /&gt;
 # ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
 # TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
 # LogLevel debug&lt;br /&gt;
 &lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
 &lt;br /&gt;
 ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
 &lt;br /&gt;
 DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;Location /rt&amp;gt;&lt;br /&gt;
   # For Centos7/Apache 2.4 this line:&lt;br /&gt;
   Require all granted&lt;br /&gt;
   # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
   # Order allow,deny&lt;br /&gt;
   # Allow from all&lt;br /&gt;
   Options +ExecCGI&lt;br /&gt;
   AddHandler fcgid-script fcgi&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
 systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
(!) NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26386</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26386"/>
		<updated>2016-10-11T21:35:55Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Updated Formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== RT 4.4.1 installation on CentOS 7.2.1511 ==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
&lt;br /&gt;
* Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
* Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
* httpd (Apache) 2.4 and mod_fcgid Apache modules were used as the host environment.&lt;br /&gt;
* Testing was conducted in both KVM and vSphere environments.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Installation Steps ==&lt;br /&gt;
&lt;br /&gt;
=== OS Installation and Initial Configuration ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!&amp;gt; It is possible to automate the majority of this section using kickstart files.&lt;br /&gt;
&lt;br /&gt;
# Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
  * Install prerequisites for RT from OS repository.&lt;br /&gt;
  {{{yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
}}}&lt;br /&gt;
&lt;br /&gt;
# Patch OS&lt;br /&gt;
{{{ yum update&lt;br /&gt;
}}}&lt;br /&gt;
  * reboot the OS.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;#&amp;gt; If you are continuing to next step immediately, do not reboot.&lt;br /&gt;
&lt;br /&gt;
# Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
  * &#039;&#039;&#039;SELINUX=disabled&#039;&#039;&#039;&lt;br /&gt;
  * reboot&lt;br /&gt;
&lt;br /&gt;
# Adjust local services:&lt;br /&gt;
  * systemctl enable mariadb.service&lt;br /&gt;
  * systemctl enable httpd.service&lt;br /&gt;
  * systemctl start mariadb.service&lt;br /&gt;
  * systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
  * NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
=== Configure Supporting Software ===&lt;br /&gt;
&lt;br /&gt;
# Configure root password for mariadb:&lt;br /&gt;
  * mysqladmin -u root password&lt;br /&gt;
  * NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
# Install CPAN minus.&lt;br /&gt;
  * curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
# Configure RT to use cpanm for fixdeps:&lt;br /&gt;
  * export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
=== RT Dependencies and Installation ===&lt;br /&gt;
&lt;br /&gt;
# Get RT and extract to /tmp.&lt;br /&gt;
  * wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
  * tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
  * cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
# Configure RT:&lt;br /&gt;
  * ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
# Test the dependencies:&lt;br /&gt;
  * make testdeps&lt;br /&gt;
&lt;br /&gt;
# Fix the dependencies:&lt;br /&gt;
  * make fixdeps&lt;br /&gt;
  * NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
# Confirm the dependencies are complete:&lt;br /&gt;
  * make testdeps&lt;br /&gt;
&lt;br /&gt;
# Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
  * make install&lt;br /&gt;
&lt;br /&gt;
=== RT Configuration using Web Interface ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!&amp;gt; It is possible to complete this step by editing the RT files directly, and creating the database.  Refer to the RT documentation for manual steps.&lt;br /&gt;
&lt;br /&gt;
# Run the first run installation instance:&lt;br /&gt;
  * /opt/rt4/sbin/rt-server&lt;br /&gt;
  * Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
# Configure the rt instance (fill this section in).&lt;br /&gt;
&lt;br /&gt;
# When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
=== Configure RT for hostname.domain.name/rt directory ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!&amp;gt; This is a personal preference.  The web server example below assumes /rt is used.&lt;br /&gt;
&lt;br /&gt;
# Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
{{{ Set( $WebPath, &#039;/rt&#039; );&lt;br /&gt;
}}}&lt;br /&gt;
&lt;br /&gt;
=== Configure web server ===&lt;br /&gt;
&lt;br /&gt;
# Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
{{{ FcgidMaxRequestLen 1073741824&lt;br /&gt;
}}}&lt;br /&gt;
&lt;br /&gt;
# Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
{{{# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
}}}&lt;br /&gt;
&lt;br /&gt;
# Start apache:&lt;br /&gt;
systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
# Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
&amp;lt;!&amp;gt;NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26385</id>
		<title>CentOS7Install</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=CentOS7Install&amp;diff=26385"/>
		<updated>2016-10-11T21:17:38Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: Original Draft of page from notes created on google drive.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- RT 4.4.1 installation on CentOS 7.2.1511 -&lt;br /&gt;
&lt;br /&gt;
Assumptions:&lt;br /&gt;
1. Access to the internet and CentOS OS and update repositories is available.&lt;br /&gt;
1. Installation testing was completed using CentOS 7.2.1511 minimal boot ISO.&lt;br /&gt;
&lt;br /&gt;
Installation Steps:&lt;br /&gt;
1. Install OS.  Install the OS from ISO or PXE boot using your normal methodology.&lt;br /&gt;
  * Install prerequisites for RT from OS repository.&lt;br /&gt;
  * yum install expat gd graphviz mariadb-server openssl expat-devel gd-devel graphviz-devel mariadb-devel openssl-devel perl perl-CPAN wget screen mod_fcgid&lt;br /&gt;
  * yum groupinstall &amp;quot;Development Tools&amp;quot; &amp;quot;Web Server&amp;quot;&lt;br /&gt;
&lt;br /&gt;
1. Patch OS&lt;br /&gt;
  * yum update&lt;br /&gt;
  * reboot (unless you are doing step 4 immediately)&lt;br /&gt;
&lt;br /&gt;
1. Disable selinux, by editing /etc/sysconfig/selinux:&lt;br /&gt;
  * SELINUX=disabled&lt;br /&gt;
  * reboot&lt;br /&gt;
&lt;br /&gt;
1. Adjust local services:&lt;br /&gt;
  * systemctl enable mariadb.service&lt;br /&gt;
  * systemctl enable httpd.service&lt;br /&gt;
  * systemctl start mariadb.service&lt;br /&gt;
  * systemctl stop httpd.service&lt;br /&gt;
&lt;br /&gt;
  * NOTE:  httpd service needs to be stopped to allow RT web based configuration later in process.&lt;br /&gt;
&lt;br /&gt;
1. Configure root password for mariadb:&lt;br /&gt;
  * mysqladmin -u root password&lt;br /&gt;
  * NOTE:  configure the internal DB password for the local instance of mysqld or mariadb&lt;br /&gt;
&lt;br /&gt;
1. Install CPAN minus.&lt;br /&gt;
  * curl -L http://cpanmin.us | perl - --sudo App::cpanminus&lt;br /&gt;
&lt;br /&gt;
1. Get RT and extract to /tmp.&lt;br /&gt;
  * wget https://download.bestpractical.com/pub/rt/release/rt-4.4.1.tar.gz&lt;br /&gt;
  * tar xvzf rt-4.4.1.tar.gz -C /tmp&lt;br /&gt;
  * cd /tmp/rt-4.4.1&lt;br /&gt;
&lt;br /&gt;
1. Configure RT:&lt;br /&gt;
  * ./configure --enable-graphviz --enable-gd --with-web-user=apache --with-web-group=apache&lt;br /&gt;
&lt;br /&gt;
1. Configure RT to use cpanm for fixdeps:&lt;br /&gt;
  * export RT_FIX_DEPS_CMD=/usr/local/bin/cpanm&lt;br /&gt;
&lt;br /&gt;
1. Test the dependencies:&lt;br /&gt;
  * make testdeps&lt;br /&gt;
&lt;br /&gt;
1. Fix the dependencies:&lt;br /&gt;
  * make fixdeps&lt;br /&gt;
&lt;br /&gt;
  * NOTE:  You may need to run the command more than once.  On RHEL 6.8, you may need to manually force the addition of the GD perl module via “cpanm GD --force”&lt;br /&gt;
&lt;br /&gt;
1. Confirm the dependencies are complete:&lt;br /&gt;
  * make testdeps&lt;br /&gt;
&lt;br /&gt;
1. Install RT (default install is to the /opt/rt4 directory):&lt;br /&gt;
  * make install&lt;br /&gt;
&lt;br /&gt;
1. Modify /etc/httpd/conf.d/fcgid.conf.  Add:&lt;br /&gt;
  * FcgidMaxRequestLen 1073741824&lt;br /&gt;
&lt;br /&gt;
1. Create /etc/httpd/conf.d/rt.conf:&lt;br /&gt;
# RT4 configuration for Apache&lt;br /&gt;
&lt;br /&gt;
### Optional apache logs for RT&lt;br /&gt;
# Ensure that your log rotation scripts know about these files&lt;br /&gt;
# ErrorLog /opt/rt4/var/log/apache2.error&lt;br /&gt;
# TransferLog /opt/rt4/var/log/apache2.access&lt;br /&gt;
# LogLevel debug&lt;br /&gt;
&lt;br /&gt;
AddDefaultCharset UTF-8&lt;br /&gt;
&lt;br /&gt;
Alias /rt/NoAuth/images /opt/rt4/share/html/NoAuth/images/&lt;br /&gt;
&lt;br /&gt;
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi/&lt;br /&gt;
&lt;br /&gt;
DocumentRoot &amp;quot;/opt/rt4/share/html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Location /rt&amp;gt;&lt;br /&gt;
  # For Centos7/Apache 2.4 this line:&lt;br /&gt;
  Require all granted&lt;br /&gt;
  # For Centos6/Apache 2.2 these two lines:&lt;br /&gt;
  # Order allow,deny&lt;br /&gt;
  # Allow from all&lt;br /&gt;
  Options +ExecCGI&lt;br /&gt;
  AddHandler fcgid-script fcgi&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Run the first run installation instance:&lt;br /&gt;
  * /opt/rt4/sbin/rt-server&lt;br /&gt;
  * Access the server using a web browser on the http 80 port.&lt;br /&gt;
&lt;br /&gt;
1. Configure the rt instance (fill this section in).&lt;br /&gt;
&lt;br /&gt;
1. When completed Ctrl-C the rt-server instance started above.&lt;br /&gt;
&lt;br /&gt;
1. Modify /opt/rt4/etc/RT_SiteConfig.pm.  Add the following line:&lt;br /&gt;
  * Set( $WebPath, &#039;/rt&#039; );&lt;br /&gt;
&lt;br /&gt;
1. Start apache:&lt;br /&gt;
systemctl start httpd.service&lt;br /&gt;
&lt;br /&gt;
1. Modify firewalld configuration to suite your local requirements.&lt;br /&gt;
  * NOTE:  Depending on install method, firewalld may not be installed.  You can also stop it for testing with the &amp;quot;systemctl stop firewalld&amp;quot; command.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=InstallationGuides&amp;diff=26384</id>
		<title>InstallationGuides</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=InstallationGuides&amp;diff=26384"/>
		<updated>2016-10-11T21:07:59Z</updated>

		<summary type="html">&lt;p&gt;Skuervers: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{OutdatedInstallGuide}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
= The best/easiest distribution for RT =&lt;br /&gt;
&lt;br /&gt;
There is no the best or the easiest. People run RT on Arch Linux, Debian, FreeBSD, NetBSD, RH7/8/9, RHEL, CentOS, Fedora, Solaris, SuSE, Gentoo, OpenBSD.&lt;br /&gt;
&lt;br /&gt;
Just look at the list of guides below. Pick a distro you&#039;re familiar with, check if it has packages for the latest stable RT or install from source.&lt;br /&gt;
&lt;br /&gt;
= Generic Installation Guides =&lt;br /&gt;
&lt;br /&gt;
* [[ManualRequirements]] - software and knowledge you need to install RT.&lt;br /&gt;
* [[ManualInstallation]] - general overview of installation process and first time configuring.&lt;br /&gt;
* [[DevelopmentInstallation]] - HOWTO setup RT to run from a development directory&lt;br /&gt;
* [http://www.sgsosu.net/nmetro/docs.html Installation and Administration Guides] - Request Tracker, Reporting and Asset Tracker&lt;br /&gt;
&lt;br /&gt;
= Platform-Specific Installation Guides =&lt;br /&gt;
&lt;br /&gt;
* Arch Linux&lt;br /&gt;
** [https://wiki.archlinux.org/index.php/Request_Tracker Request Tracker (Arch Wiki)]&lt;br /&gt;
* CentOS:&lt;br /&gt;
** [[CentOS5InstallPlusSome]] (CentOS 5.4 + Active Directory 2003 + Exchange 2007 + Postfix + RT 3.8.7)&lt;br /&gt;
** [http://howtoconfigure.blogspot.pt/2013/05/how-to-install-request-tracker-40x-in.html CentOS 5.x and 6.x (RT 4.0.5)] (CentOS 5.x / 6.x + RT 4.0.5)&lt;br /&gt;
** [http://harbot.wordpress.com/2012/05/22/how-to-install-request-tracker-4-0-5-in-centos6/ CentOS 6.2 (RT 4.0.5)] (An unofficial installation guide)&lt;br /&gt;
** [http://gregorbinder.blogspot.it/2012/04/how-to-install-request-tracker-4-on.html CentOS 6.2 (RT 4.0.5)] (A slightly different unofficial installation guide compared to the one above)&lt;br /&gt;
** [http://binarynature.blogspot.pt/2013/05/install-request-tracker-4.html CentOS 6.4 (RT 4.2)] (CentOS-6.4 - x86_64 Minimal Install + RT 4.2)&lt;br /&gt;
** [[CentOS7Install]] (CentOS 7.2.1511 install using Perl RPMs and CPANminus to source CPAN dependencies)&lt;br /&gt;
* Cygwin&lt;br /&gt;
** [[CygwinInstallGuide]]&lt;br /&gt;
* Debian GNU/Linux:&lt;br /&gt;
** [[DebianSqueezeInstallGuide]] (RT 4, via apt)&lt;br /&gt;
** [[DebianLennyInstallGuide]] (RT 3.81, mysql 5, postifx)&lt;br /&gt;
** [[DebianLennySourceInstallGuide]]&lt;br /&gt;
** [[DebianEtchSourceInstallGuide]]&lt;br /&gt;
** [[DebianStableInstallGuide|DebianSargeeInstallGuide]]&lt;br /&gt;
** [http://binarynature.blogspot.com/2013/10/install-request-tracker-4-on-ubuntu-server.html Debian 7.2 (RT 4.2)] (Ubuntu guide with Debian-specific notes; Apache, MySQL)&lt;br /&gt;
** [[DebianJessieInstallGuide]] (RT 4.2, via apt, nginx/apache)&lt;br /&gt;
* Fedora:&lt;br /&gt;
** [[FedoraCore1InstallGuide]]&lt;br /&gt;
** [[FedoraCore2InstallGuide]]&lt;br /&gt;
** [[FedoraCore4InstallGuide]]&lt;br /&gt;
** Fedore Core 5 and greater have packages, see below&lt;br /&gt;
* MacOSX:&lt;br /&gt;
** [[MacOSXServerInstallGuide]]&lt;br /&gt;
** [[MacOSX SnowLeopard ClientInstallGuide|MacOSX_SnowLeopard_ClientInstallGuide]]&lt;br /&gt;
** [[Mac_OSX_10.6.8_Snow_Leopard_Server_Install]]&lt;br /&gt;
* OpenBSD:&lt;br /&gt;
** [[OpenBSD38InstallGuide]]&lt;br /&gt;
** [[OpenBSD40InstallGuide]]&lt;br /&gt;
* openSUSE&lt;br /&gt;
** [[OpenSUSE123InstallGuide|openSUSE 12.3]]&lt;br /&gt;
** [[OpenSUSE122InstallGuide|openSUSE 12.2]]&lt;br /&gt;
** [http://wiki.bestpractical.com/view/OpenSuSE113InstallPlus OpenSuSE 11.3 InstallGuide + MySQL + RTFM and more]&lt;br /&gt;
* RedHat EL:&lt;br /&gt;
** [[RHEL4InstallGuide]]&lt;br /&gt;
** [[Rhel5InstallGuide|RHEL5InstallGuide]]&lt;br /&gt;
* Slackware&lt;br /&gt;
** [[SlackwareInstallGuide]]&lt;br /&gt;
* Solaris&lt;br /&gt;
** [[SolarisInstallGuide]]&lt;br /&gt;
* [[SuSE|SUSE Linux Enterprise (SLE):]]&lt;br /&gt;
** [[SLES11InstallGuide]]&lt;br /&gt;
** [[SuSE10InstallGuide]]&lt;br /&gt;
** [[SuSE93InstallGuide]]&lt;br /&gt;
** [[SuSEOracleInstall]]&lt;br /&gt;
* Ubuntu&lt;br /&gt;
** [http://wiki.bestpractical.com/view/Ubuntu_8.04.1 Ubuntu 8.04.1 + RT 3.8.1 + MySQL]&lt;br /&gt;
** [http://catcon.wordpress.com/2009/05/20/installing-request-tracker-3-8-2-on-ubuntu-server-9-04/ Ubuntu 9.04 + RT 3.8.2 + MySQL]&lt;br /&gt;
** [http://catcon.wordpress.com/2009/06/09/upgrading-to-request-tracker-3-8-3/ Upgrade from 3.8.2 to 3.8.3]&lt;br /&gt;
** [http://wiki.bestpractical.com/view/HowToInstallRequest-Tracker3.8OnUbunto9.10 Ubuntu 9.10 + RT 3.8.4 + MySQL]&lt;br /&gt;
** [[WithEmailFacility|Ubuntu 10.04 with inbound/outbound email facility]]&lt;br /&gt;
** [[Ubuntu 12.10 Install Guide]] (RT4, nginx, Fast-CGI, Postfix)&lt;br /&gt;
** [http://requesttracker.wikia.com/wiki/Ubuntu_13.04_Server_and_Request_Tracker Ubuntu 13.04 With RT4.0 ]&lt;br /&gt;
** [http://binarynature.blogspot.com/2013/10/install-request-tracker-4-on-ubuntu-server.html Ubuntu 13.10 (RT 4.2, Apache, MySQL)]&lt;br /&gt;
&lt;br /&gt;
==== Packaged Installs ====&lt;br /&gt;
&lt;br /&gt;
* [[Rhel5InstallGuide]]&lt;br /&gt;
* [[CentOS5InstallGuide]]&lt;br /&gt;
* [[RHELorCentOSusingEPEL]]&lt;br /&gt;
* [[DebianInstallGuide]]&lt;br /&gt;
** Portuguese translation: [[GuiaInstalacaoDebian]]&lt;br /&gt;
* Fedora:&lt;br /&gt;
** [[FedoraCore5InstallGuide]]&lt;br /&gt;
** [[FedoraCore6InstallGuide]]&lt;br /&gt;
** [[FedoraCore7InstallGuide]]&lt;br /&gt;
** [[FedoraCore9InstallGuide]]&lt;br /&gt;
* [[FreeBSDInstallGuide]]&lt;br /&gt;
* [http://requesttracker.wikia.com/wiki/FreeBSDInstallGuide_-_RT4.2 FreeBSDInstallGuide_-_RT4.2]&lt;br /&gt;
* [[GentooInstallGuide]]&lt;br /&gt;
* [[MandrivaInstallGuide]]&lt;br /&gt;
* [[RPMInstall]]&lt;br /&gt;
** (RHEL/CentOS/WBEL, updated for v3.4.5. Includes how to get mod_perl2 running)&lt;br /&gt;
* [[SolarisBlastwaveInstallGuide]]&lt;br /&gt;
* [[SuSE]]:&lt;br /&gt;
** [[OpenSUSE123InstallGuide]]&lt;br /&gt;
** [[OpenSUSE122InstallGuide]]&lt;br /&gt;
* Ubuntu:&lt;br /&gt;
** [[UbuntuInstallGuide]]&lt;br /&gt;
** [[UbuntuInstallGuide2]] (Ubuntu 6.06 / RT 3.6 / mysql)&lt;br /&gt;
** [[UbuntuHardyInstallGuide]] (Ubuntu 8.04 / RT 3.6 / mysql)&lt;br /&gt;
* Vmware:&lt;br /&gt;
** [[VmwareInstall]]&lt;br /&gt;
* Virtual Appliances:&lt;br /&gt;
** [[Proxmox VE RT Appliance|Proxmox_VE_RT_Appliance]] (RT 3.8.x)&lt;br /&gt;
&lt;br /&gt;
==== Perl Module Repositories for RHEL/CentOS ====&lt;br /&gt;
&lt;br /&gt;
* [[RHEL5RepoArchive]]&lt;br /&gt;
&lt;br /&gt;
= Database Specific Notes =&lt;br /&gt;
&lt;br /&gt;
* [[OracleSetup]]&lt;br /&gt;
* RT with [[OracleText]]&lt;br /&gt;
* RT with [[PostgreSQLFullText]]&lt;br /&gt;
* RT with [[PostgreSQLFullTextTrgm]]&lt;br /&gt;
&lt;br /&gt;
= Web Server Specific Notes =&lt;br /&gt;
&lt;br /&gt;
* [[LighttpdFastCGIGuide]]&lt;br /&gt;
&lt;br /&gt;
= Upgrading =&lt;br /&gt;
&lt;br /&gt;
* [[MigrateToNewServer]]&lt;br /&gt;
* [[UpgradingFrom3011To344OnSolaris9]]&lt;br /&gt;
* [[Upgrade_RT_3.6.7_to_3.8.8_-_Debian_5.0(lenny)_to_6.0(squeeze)]]&lt;br /&gt;
&lt;br /&gt;
= Other =&lt;br /&gt;
&lt;br /&gt;
* [[CompilingPerl]]&lt;br /&gt;
* [[ManualApache]]&lt;br /&gt;
* [[InstallMailgateOnly]]&lt;br /&gt;
&lt;br /&gt;
= Deployment guides =&lt;br /&gt;
&lt;br /&gt;
Documents which explain why and which way, rather than how.&lt;br /&gt;
&lt;br /&gt;
* [[ItsFinallyInstalledNowWhat]]&lt;br /&gt;
* The [http://web.mit.edu/tooltime/ MITProjectNotebook], especially the [http://web.mit.edu/tooltime/notebook/reference/documentation.html Documentation page], which includes a [http://web.mit.edu/tooltime/notebook/reference/rtbasics.pdf 15 page PDF] User&#039;s Manual.&lt;/div&gt;</summary>
		<author><name>Skuervers</name></author>
	</entry>
</feed>