<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alex</id>
		<title>Freeside - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alex"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php/Special:Contributions/Alex"/>
		<updated>2026-05-18T12:35:45Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:3:Documentation:RT_Installation&amp;diff=8201</id>
		<title>Freeside:3:Documentation:RT Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:3:Documentation:RT_Installation&amp;diff=8201"/>
				<updated>2015-01-20T23:30:59Z</updated>
		
		<summary type="html">&lt;p&gt;Alex: Including Debian 7's setup of the pg_hba.conf file.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
These instructions document installation of the integrated internal RT ticketing system.  &lt;br /&gt;
&lt;br /&gt;
There is also support for running this integration against an external RT installation, but it is not (yet) documented.&lt;br /&gt;
&lt;br /&gt;
Documentation contributions are welcome.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-Session Apache::Session]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Tree HTML::TreeBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Format HTML-Format] (CPAN: &amp;quot;install HTML::FormatText&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Test-Inline Test::Inline]&lt;br /&gt;
* [http://search.cpan.org/dist/Class-ReturnValue Class::ReturnValue]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-SearchBuilder DBIx::SearchBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Log-Dispatch Log::Dispatch]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Maketext-Lexicon Locale::Maketext::Lexicon]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Maketext-Fuzzy Locale::Maketext::Fuzzy]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Wrapper Text::Wrapper]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-modules Time-modules] (CPAN: &amp;quot;install Time::ParseDate&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/TermReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Autoformat Text::Autoformat]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Quoted Text::Quoted]&lt;br /&gt;
* [http://search.cpan.org/dist/Regexp-Common Regexp::Common]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Scrubber HTML::Scrubber]&lt;br /&gt;
* [http://search.cpan.org/dist/Tree-Simple Tree::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-SSLeay Crypt::SSLeay]&lt;br /&gt;
* [http://search.cpan.org/dist/GDGraph GD::Graph]&lt;br /&gt;
* [http://search.cpan.org/dist/UNIVERSAL-Require UNIVERSAL::require]&lt;br /&gt;
* [http://search.cpan.org/dist/XML-RSS XML::RSS]&lt;br /&gt;
* [http://search.cpan.org/dist/Calendar-Simple Calendar::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/GD-Graph GD::Graph]&lt;br /&gt;
* [http://search.cpan.org/dist/GD-Text GD::Text]&lt;br /&gt;
* [http://search.cpan.org/dist/CSS-Squish CSS::Squish]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Element-Extended HTML::ElementTable]&lt;br /&gt;
&lt;br /&gt;
Missing prerequisites?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Create a new Unix group called 'rt'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
addgroup rt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Edit the top-level Makefile (within the freeside source directory - NOT rt directory), set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd freeside-X.X/&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;$ make configure-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If your database is not on the local machine you will need to edit /opt/rt3/etc/RT_SiteConfig.pm and set the DatabaseHost value&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;# make create-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
** ''Authentication errors?''&lt;br /&gt;
*** ''Edit &amp;lt;code&amp;gt;pg_hba.conf&amp;lt;/code&amp;gt;, change &amp;quot;&amp;lt;code&amp;gt;ident sameuser&amp;lt;/code&amp;gt;&amp;quot; auth to &amp;quot;&amp;lt;code&amp;gt;trust&amp;lt;/code&amp;gt;&amp;quot; for the line starting with &amp;quot;&amp;lt;code&amp;gt;local all all&amp;lt;/code&amp;gt;&amp;quot; (Debian 7.x has a METHOD column that is set to &amp;lt;code&amp;gt;peer&amp;lt;/code&amp;gt;, this needs to be set to &amp;lt;code&amp;gt;trust&amp;lt;/code&amp;gt;)''&lt;br /&gt;
*** ''Restart Pg''&lt;br /&gt;
*** ''Revert the change back and restart Pg after this installation step''&lt;br /&gt;
* &amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;make install-rt&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Configure Apache: make sure APACHE_CONF and FREESIDE_DOCUMENT_ROOT are set correctly in the Makefile, then run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Restart Apache (httpd) and log into the Freeside web interface using the username and password you created during the first part of the installation.&lt;br /&gt;
&lt;br /&gt;
* Set the '''ticket_system''' configuration value to &amp;lt;code&amp;gt;RT_Internal&amp;lt;/code&amp;gt;.  (You may also wish to set '''ticket_system-default_queueid''' once you have RT configured.)&lt;br /&gt;
&lt;br /&gt;
=== Bootstrap RT's permissions ===&lt;br /&gt;
*Click on &amp;quot;Ticketing Main&amp;quot; on the Freeside main menu to auto-create an RT login for your username&lt;br /&gt;
*From &amp;quot;Billing Main&amp;quot;, go to Configuration &amp;gt; Employees &amp;gt; View/Edit employees and add a temporary &amp;quot;root&amp;quot; user.  Note: the user name must be &amp;quot;root&amp;quot; (without the quotes).&lt;br /&gt;
* Log into your Freeside installation as the &amp;quot;root&amp;quot; user you just created, by closing all of your browser windows, or by using &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://root@yourmachone/freeside/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; syntax if your browser supports it.&lt;br /&gt;
* Click on &amp;quot;Ticketing Main&amp;quot; on the Freeside main menu.  Go to Configuration &amp;gt; Ticketing &amp;gt; Ticketing Global, and then &amp;quot;User Rights&amp;quot;.  Grant the &amp;quot;SuperUser&amp;quot; right to your normal RT/Freeside login.&lt;br /&gt;
* Go back to the freeside employee list and disable the temporary &amp;quot;root&amp;quot; user.&lt;br /&gt;
&lt;br /&gt;
== Futher Reading ==&lt;br /&gt;
* Follow the [http://wiki.bestpractical.com/ regular RT documentation] to configure RT, setup the mailgate, etc.&lt;/div&gt;</summary>
		<author><name>Alex</name></author>	</entry>

	</feed>