Difference between revisions of "Freeside:1.7:Documentation:RT Installation"

From Freeside
Jump to: navigation, search
(RT install instructions)
 
(reverting spam)
 
(38 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
== Introduction ==
 
== Introduction ==
  
Integrated ticketing is an new feature and these instructions are preliminaryDocumentation contributions are welcome.
+
These instructions document installation of the integrated internal RT ticketing system.   
  
 
There is also support for running this integration against an external RT installation, but it is not (yet) documented.
 
There is also support for running this integration against an external RT installation, but it is not (yet) documented.
 +
 +
Documentation contributions are welcome.
  
 
== Prerequisites ==
 
== Prerequisites ==
Line 24: Line 26:
 
* [http://search.cpan.org/dist/HTML-Scrubber HTML::Scrubber]
 
* [http://search.cpan.org/dist/HTML-Scrubber HTML::Scrubber]
 
* [http://search.cpan.org/dist/Tree-Simple Tree::Simple]
 
* [http://search.cpan.org/dist/Tree-Simple Tree::Simple]
 +
* [http://search.cpan.org/dist/Crypt-SSLeay Crypt::SSLeay]
 +
* [http://search.cpan.org/dist/GDGraph GD::Graph]
 +
* [http://search.cpan.org/dist/UNIVERSAL-Require UNIVERSAL::require]
  
 
== Installation ==
 
== Installation ==
Line 29: Line 34:
 
* Create a new Unix group called 'rt'
 
* Create a new Unix group called 'rt'
 
* Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.
 
* Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.
* <pre><nowiki>make configure-rt
+
* <pre><nowiki>$ make configure-rt</nowiki></pre>
make create-rt
+
* 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
make install-rt
+
* <pre><nowiki># make create-rt</nowiki></pre>
</nowiki></pre>
+
** ''Authentication errors?''
* Add the following to your httpd.conf: <pre><nowiki>
+
*** ''Edit <code>pg_hba.conf</code>, change "<code>ident sameuser</code>" auth to "<code>trust</code>" for the line starting with "<code>local all all</code>"''
 +
*** ''Restart Pg''
 +
*** ''Revert the change back and restart Pg after this installation step''
 +
* <pre><nowiki>make install-rt</nowiki></pre>
 +
* Add the following to your httpd.conf:  
 +
<pre>
 
#replace /var/www/freeside with your freeside document root
 
#replace /var/www/freeside with your freeside document root
 
<Directory /var/www/freeside/rt/NoAuth>
 
<Directory /var/www/freeside/rt/NoAuth>
Line 70: Line 80:
 
PerlHandler HTML::Mason  
 
PerlHandler HTML::Mason  
 
</Directory>
 
</Directory>
</nowiki></pre>
+
</pre>
 +
 
 +
* Restart Apache (httpd) and log into the Freeside web interface using the username and password you created during the first part of the installation.
  
 
* Set the '''ticket_system''' configuration value to <code>RT_Internal</code>.  (You may also wish to set '''ticket_system-default_queueid''' once you have RT configured.)
 
* Set the '''ticket_system''' configuration value to <code>RT_Internal</code>.  (You may also wish to set '''ticket_system-default_queueid''' once you have RT configured.)
Line 76: Line 88:
 
* Bootstrap RT's permissions:
 
* Bootstrap RT's permissions:
 
**Click on "Ticketing Main" on the Freeside main menu to auto-create an RT login for your username
 
**Click on "Ticketing Main" on the Freeside main menu to auto-create an RT login for your username
**Go to Configuration | Employees | View/Edit employees and add a temporary root user.
+
**From "Billing Main", go to Configuration | Employees | View/Edit employees and add a temporary "root" user.  Note: the user name must be "root" (without the quotes).
 
** Log into your Freeside installation as the "root" user you just created, by closing all of your browser windows, or by using <code><nowiki>https://root@yourmachone/freeside/</nowiki></code> syntax if your browser supports it.
 
** Log into your Freeside installation as the "root" user you just created, by closing all of your browser windows, or by using <code><nowiki>https://root@yourmachone/freeside/</nowiki></code> syntax if your browser supports it.
 
** Click on "Ticketing Main" on the Freeside main menu.  Click on "Configuration", then "Global", and then "User Rights".  Grant the "SuperUser" right to your RT login.
 
** Click on "Ticketing Main" on the Freeside main menu.  Click on "Configuration", then "Global", and then "User Rights".  Grant the "SuperUser" right to your RT login.

Latest revision as of 15:52, 25 July 2009

Introduction

These instructions document installation of the integrated internal RT ticketing system.

There is also support for running this integration against an external RT installation, but it is not (yet) documented.

Documentation contributions are welcome.

Prerequisites

Installation

  • Create a new Unix group called 'rt'
  • Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.
  • $ make configure-rt
  • 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
  • # make create-rt
    • Authentication errors?
      • Edit pg_hba.conf, change "ident sameuser" auth to "trust" for the line starting with "local all all"
      • Restart Pg
      • Revert the change back and restart Pg after this installation step
  • make install-rt
  • Add the following to your httpd.conf:
#replace /var/www/freeside with your freeside document root
<Directory /var/www/freeside/rt/NoAuth>
<Limit GET POST>
allow from all
Satisfy any   
SetHandler perl-script
PerlHandler HTML::Mason
</Limit>
</Directory>

#replace /var/www/freeside with your freeside document root
<Directory /var/www/freeside/rt/REST/1.0/NoAuth>
<Limit GET POST>
allow from all
Satisfy any   
SetHandler perl-script
PerlHandler HTML::Mason
</Limit>
</Directory>

#replace /var/www/freeside with your freeside document root
<DirectoryMatch "^%/var/www/freeside/rt/.*NoAuth/images">
SetHandler None
</DirectoryMatch>

#replace /var/www/freeside with your freeside document root
<Directory /var/www/freeside/rt/Ticket/Attachment> 
SetHandler perl-script 
PerlHandler HTML::Mason 
</Directory>

#replace /var/www/freeside with your freeside document root
<Directory /var/www/freeside/rt/Search> 
SetHandler perl-script 
PerlHandler HTML::Mason 
</Directory>
  • Restart Apache (httpd) and log into the Freeside web interface using the username and password you created during the first part of the installation.
  • Set the ticket_system configuration value to RT_Internal. (You may also wish to set ticket_system-default_queueid once you have RT configured.)
  • Bootstrap RT's permissions:
    • Click on "Ticketing Main" on the Freeside main menu to auto-create an RT login for your username
    • From "Billing Main", go to Configuration | Employees | View/Edit employees and add a temporary "root" user. Note: the user name must be "root" (without the quotes).
    • Log into your Freeside installation as the "root" user you just created, by closing all of your browser windows, or by using https://root@yourmachone/freeside/ syntax if your browser supports it.
    • Click on "Ticketing Main" on the Freeside main menu. Click on "Configuration", then "Global", and then "User Rights". Grant the "SuperUser" right to your RT login.
    • Disable the temporary "root" user.