<?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=Celestius</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=Celestius"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php/Special:Contributions/Celestius"/>
		<updated>2026-04-08T04:09:27Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Administration&amp;diff=7425</id>
		<title>Freeside:2.1:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Administration&amp;diff=7425"/>
				<updated>2012-09-16T22:42:44Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* Daily and Monthly Scripts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Exports (provisioning) =&lt;br /&gt;
&lt;br /&gt;
'''Exports''' allow you to provision services to remote machines, databases and APIs.  Some exports, such as ''sqlradius'' and ''sqlradius_withdomain'',  enable a feed for retrieving rating/usage data.&lt;br /&gt;
&lt;br /&gt;
Exports can be added and edited under&lt;br /&gt;
: Configuration -&amp;gt; Provisioning, services and packages -&amp;gt; View/edit exports&lt;br /&gt;
&lt;br /&gt;
Most exports place jobs in the job queue for new, modified or deleted services.  Jobs are run by [[Freeside:1.9:Documentation:Developer/bin/freeside-queued|freeside-queued]].  This daemon needs to be running before exports are acted upon.&lt;br /&gt;
&lt;br /&gt;
Some exports use SSH, SCP or SFTP to communicate with external machines.  See the documentation on [[Freeside:1.9:Documentation:Administration:SSH_Keys|SSH keys]].&lt;br /&gt;
&lt;br /&gt;
Click on ''Add a new export'' to create a new export.  Select exports from the dropdown to show more information on each export, including available options, setup and usage.&lt;br /&gt;
&lt;br /&gt;
Exports are activated by associating them with one or more '''service definitions'''.&lt;br /&gt;
&lt;br /&gt;
Following is a list of which exports can be associated with each type of service.&lt;br /&gt;
&lt;br /&gt;
==svc_acct==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:acct_plesk.pm|acct_plesk.pm]]:  Real-time export to Plesk managed mail service&lt;br /&gt;
* acct_sql.pm:  Real-time export of accounts to SQL databases .&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* bsdshell.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* communigate_pro_singledomain.pm: &lt;br /&gt;
* cpanel.pm:  Real-time export to Cpanel control panel.&lt;br /&gt;
* cp.pm:  Real-time export to Critical Path Account Provisioning Protocol&lt;br /&gt;
* cyrus.pm:  Real-time export to Cyrus IMAP server&lt;br /&gt;
* everyone_net.pm:  Real-time export to Everyone.net outsourced mail service&lt;br /&gt;
* infostreet.pm:  Real-time export to InfoStreet streetSmartAPI&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:ldap.pm|ldap.pm]]:  Real-time export to LDAP&lt;br /&gt;
* passwdfile.pm:&lt;br /&gt;
* radiator.pm:  Real-time export to RADIATOR&lt;br /&gt;
* shellcommands.pm: &lt;br /&gt;
* shellcommands_withdomain.pm:  Real-time export via remote SSH (vpopmail, ISPMan)&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
* sqlradius.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS)&lt;br /&gt;
* sqlradius_withdomain.pm:  Real-time export to SQL-backed RADIUS (FreeRADIUS, ICRADIUS) with realms&lt;br /&gt;
* sysvshell.pm: &lt;br /&gt;
* textradius.pm: &lt;br /&gt;
* vpopmail.pm:  Real-time export to vpopmail text files&lt;br /&gt;
&lt;br /&gt;
==svc_domain==&lt;br /&gt;
* bind.pm:  Batch export to BIND named&lt;br /&gt;
* bind_slave.pm: Batch export to slave BIND named&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* domain_shellcommands.pm:  Run remote commands via SSH, for domains (qmail, ISPMan).&lt;br /&gt;
* domain_sql.pm:  Real time export of domains to SQL databases .&lt;br /&gt;
* http.pm:  Send an HTTP or HTTPS GET or POST request&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:opensrs.pm|opensrs.pm]]: OpenSRS integration&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_forward==&lt;br /&gt;
* artera_turbo.pm: &lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:communigate_pro.pm|communigate_pro.pm]]:  Real-time export to a CommuniGate Pro mail server&lt;br /&gt;
* forward_shellcommands.pm:  Run remote commands via SSH, for forwards&lt;br /&gt;
* postfix.pm:  Postfix text files&lt;br /&gt;
* sqlmail.pm:  Real-time export to SQL-backed mail server&lt;br /&gt;
&lt;br /&gt;
==svc_www==&lt;br /&gt;
* apache.pm:  Export an Apache httpd.conf file snippet.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:www_plesk.pm|www_plesk.pm]]:  Real-time export to Plesk managed hosting service&lt;br /&gt;
* www_shellcommands.pm:  Run remote commands via SSH, for virtual web sites (directory maintenance, FrontPage, ISPMan)&lt;br /&gt;
&lt;br /&gt;
==svc_broadband==&lt;br /&gt;
* nas_wrapper.pm:  A meta-export that triggers other svc_broadband exports.&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:prizm.pm|prizm.pm]]:  Real-time export to Northbound Interface&lt;br /&gt;
* router.pm:  Send a command to a router.&lt;br /&gt;
* snmp.pm:  Sends SNMP SETs to an SNMP agent.&lt;br /&gt;
* trango.pm:  Sends SNMP SETs to a Trango AP.&lt;br /&gt;
&lt;br /&gt;
==svc_phone==&lt;br /&gt;
* globalpops_voip.pm:&lt;br /&gt;
* grandstream.pm: Grandstream phone and ATA provisioning.   This [http://www.freeside.biz/blog/?p=11 blog article] is a start at documentation.&lt;br /&gt;
* indosoft.pm:&lt;br /&gt;
* internal_diddb.pm:&lt;br /&gt;
* netsapiens.pm:&lt;br /&gt;
* phone_shellcommands.pm:&lt;br /&gt;
* phone_sqlradius.pm:&lt;br /&gt;
* thirdlane.pm:&lt;br /&gt;
* vitelity.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_external==&lt;br /&gt;
* artera_turbo.pm:&lt;br /&gt;
&lt;br /&gt;
==svc_dsl==&lt;br /&gt;
* ikano.pm: see [[Freeside:2.1:Documentation:Administration:svc_dsl:ikano|Ikano DSL provisioning and qualifications]]&lt;br /&gt;
&lt;br /&gt;
= Services =&lt;br /&gt;
&lt;br /&gt;
== Accounts (svc_acct) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:svc_acct:_password_encoding|Password encoding in 1.9]]&lt;br /&gt;
&lt;br /&gt;
== Domains (svc_domain) ==&lt;br /&gt;
&lt;br /&gt;
== Forwards (svc_forward) ==&lt;br /&gt;
&lt;br /&gt;
== Hosting (svc_www) ==&lt;br /&gt;
&lt;br /&gt;
== Broadband (svc_broadband) ==&lt;br /&gt;
&lt;br /&gt;
== Phone (svc_phone) ==&lt;br /&gt;
[[Vitelity]]&lt;br /&gt;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&lt;br /&gt;
== DSL (svc_dsl) ==&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:2.1:Documentation:Administration:svc_dsl:ikano|Ikano DSL provisioning and qualifications]]&lt;br /&gt;
&lt;br /&gt;
= Packages =&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:pkg_category}}&lt;br /&gt;
&lt;br /&gt;
== Price Plans ==&lt;br /&gt;
&lt;br /&gt;
=== Common price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat&lt;br /&gt;
* subscription&lt;br /&gt;
* prorate&lt;br /&gt;
* sqlradacct_hour&lt;br /&gt;
* [[voip_cdr]]&lt;br /&gt;
* prepaid&lt;br /&gt;
&lt;br /&gt;
=== Wholesale price plans ===&lt;br /&gt;
&lt;br /&gt;
* bulk&lt;br /&gt;
&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:agent | agent]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Packages:Price_Plans:cdr_termination |&lt;br /&gt;
 cdr_termination ]]&lt;br /&gt;
&lt;br /&gt;
=== Other price plans ===&lt;br /&gt;
&lt;br /&gt;
* flat_delayed&lt;br /&gt;
* flat_introrate&lt;br /&gt;
* prorate_delayed&lt;br /&gt;
&lt;br /&gt;
* base_delayed&lt;br /&gt;
* base_rate&lt;br /&gt;
&lt;br /&gt;
* sql_external&lt;br /&gt;
* sql_generic&lt;br /&gt;
&lt;br /&gt;
=== Price plans of questionable functionality ===&lt;br /&gt;
&lt;br /&gt;
* flat_comission_cust&lt;br /&gt;
* flat_comission_pkg&lt;br /&gt;
* flat_comission&lt;br /&gt;
&lt;br /&gt;
* voip_sqlradacct&lt;br /&gt;
&lt;br /&gt;
* sesmon_hour&lt;br /&gt;
* sesmon_minute&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
* Some notes on [[Freeside:1.9:Documentation:Administration:Upselling | Upselling]]&lt;br /&gt;
&lt;br /&gt;
= Resellers =&lt;br /&gt;
&lt;br /&gt;
= Employees =&lt;br /&gt;
&lt;br /&gt;
== Employees ==&lt;br /&gt;
&lt;br /&gt;
Go to Configuration -&amp;gt; Employees -&amp;gt; Employees to view the existing employees and add new ones.  It is highly recommended to add a separate account for each person rather than using role accounts.&lt;br /&gt;
&lt;br /&gt;
* To add a new employee, click on &amp;quot;Add an employee&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the employee number or name in the list of employees.&lt;br /&gt;
* Enter or edit the username, password and name.  If editing an existing employee and no password change is desired, the password fields can be left blank.&lt;br /&gt;
* Check the &amp;quot;Disable employee&amp;quot; box to disable this employee.&lt;br /&gt;
* In the &amp;quot;Employee groups&amp;quot; section, mark or unmark checkboxes to indicate the access groups for this employee.&lt;br /&gt;
&lt;br /&gt;
== Employee groups and access control == &lt;br /&gt;
&lt;br /&gt;
To setup employee access control or agent/reseller virtualization, you need to setup employee groups.  Go to Configuration -&amp;gt; Employees -&amp;gt; Employee groups to view the existing groups and add new ones.  The system starts with a &amp;quot;Superuser&amp;quot; group which has access to all functionality for the first agent.&lt;br /&gt;
&lt;br /&gt;
* To add a new group, click on &amp;quot;Add an employee group&amp;quot;&lt;br /&gt;
* Or to edit an existing group, click on the group number or name in the list of groups.&lt;br /&gt;
* Enter or edit the group name.&lt;br /&gt;
* In the &amp;quot;Group limited to these agent(s)&amp;quot; section, mark checkboxes next to the agents this employee group should be able to see.  Employees in this group will only see customers of the selected agents in the system and reports.&lt;br /&gt;
* In the &amp;quot;Group access rights&amp;quot; section, mark or unmark checkboxes to indicate the access rights this employee group should have.  Rights marked with an &amp;quot;*&amp;quot; are global rights which provide access to global data which is shared among all agents. Their use is not recommended for groups which are limited to a subset of agents.&lt;br /&gt;
* After adding a new group, don't forget to go back and add or edit employees to place them into the new group.&lt;br /&gt;
&lt;br /&gt;
= Billing =&lt;br /&gt;
&lt;br /&gt;
== Billing events ==&lt;br /&gt;
Billing events are the primary mechanism to implement your business rules.  Rules such as resend invoices, retry cards, suspend or cancel accounts for non-payment, etc. are all handled by billing events.&lt;br /&gt;
&lt;br /&gt;
At a high level, follow the following steps to create billing events:&lt;br /&gt;
* Add a new Billing Event (Configuration &amp;gt; Billing &amp;gt; Billing events)&lt;br /&gt;
* Name the event&lt;br /&gt;
* Choose the type of event:&lt;br /&gt;
** Package - Packages and associated dates (Including Commissions)&lt;br /&gt;
** Invoice - Invoice status and dates&lt;br /&gt;
** Customer - Customer Balances and Information&lt;br /&gt;
** Batch Payment - Batch payment results&lt;br /&gt;
** Statement - Send statement &lt;br /&gt;
* Choose whether to apply to one or all agents&lt;br /&gt;
* Choose the frequency for the system to check and see if the event should run.&lt;br /&gt;
* Choose appropriate filters.  &lt;br /&gt;
* Choose appropriate actions.&lt;br /&gt;
&lt;br /&gt;
The form is dynamic so changing the type of event will change the available filters and actions.&lt;br /&gt;
&lt;br /&gt;
== Daily and Monthly Scripts ==&lt;br /&gt;
* The freeside-daily script should be run daily to bill customers and run invoice collection events.&lt;br /&gt;
** Typically, this is accomplished with an entry in the freeside user's crontab such as: &amp;lt;pre&amp;gt;0 0 * * * /usr/local/bin/freeside-daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
** If running freeside-daily manually, ensure the &amp;lt;code&amp;gt;TZ&amp;lt;/code&amp;gt; variable is set to your timezone with a command such as: &amp;lt;pre&amp;gt;TZ=&amp;quot;US/Pacific&amp;quot; freeside-daily fs_daily&amp;lt;/pre&amp;gt;&lt;br /&gt;
* If any monthly events are enabled, the freeside-monthly script should be run monthly.&lt;br /&gt;
* Invoice events can also be used to implement agent-virtualized invoices. (add more info)&lt;br /&gt;
* Be sure to include the full path of freeside-daily in your cron job.&lt;br /&gt;
&lt;br /&gt;
== Invoices ==&lt;br /&gt;
&lt;br /&gt;
=== Typeset (LaTeX) invoice templates ===&lt;br /&gt;
&lt;br /&gt;
==== Prerequisites ====&lt;br /&gt;
&lt;br /&gt;
* Almost all distributions include the necessary prerequisites listed here, manual installation is practically never necessary.&lt;br /&gt;
* Install [http://www.ghostscript.com/ Ghostscript] (gs)&lt;br /&gt;
* Install [http://www.tug.org/tetex/ teTeX] or [http://www.tug.org/texlive/ TeX Live]&lt;br /&gt;
* Ensure that the &amp;lt;code&amp;gt;pslatex&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dvips&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;pdflatex&amp;lt;/code&amp;gt; command line utilities were installed&lt;br /&gt;
&lt;br /&gt;
==== Logo setup ====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Encapsulated Postscript&amp;quot;&amp;gt;EPS&amp;lt;/em&amp;gt; logo is for PDF and printed invoices.&lt;br /&gt;
&lt;br /&gt;
* For best results, save a '''vector format''' logo in EPS (Encapsulated PostScript) format.  &lt;br /&gt;
** Your graphic artist can create vector image from a bitmap (tracing etc).&lt;br /&gt;
** Converting a bitmap such as a JPG can work (the bigger the better), but it may render in lower quality, blurry or with the &amp;quot;jaggies&amp;quot; (especially when actually printed, not just viewed as a PDF)&lt;br /&gt;
* Resize the logo to 90pt X 36pt: &amp;lt;code&amp;gt;epsffit -c 0 0 90 36 yourlogo.eps &amp;gt;logo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
** (&amp;quot;no %%BoundingBox:&amp;quot; error?  Fix with eps2eps)&lt;br /&gt;
* Upload the resized logo as the &amp;lt;code&amp;gt;logo.eps&amp;lt;/code&amp;gt; configuration option.&lt;br /&gt;
* Problems?  Try &amp;lt;code&amp;gt;bin/strip-eps &amp;lt;oldlogo.eps &amp;gt;trynewlogo.eps&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;em title=&amp;quot;Portable Network Graphic&amp;quot;&amp;gt;PNG&amp;lt;/em&amp;gt; logo is for emailed and online invoices.&lt;br /&gt;
&lt;br /&gt;
Freeside ships with a logo of 92 x 62.  Any logo close to this size should work with the default HTML template.&lt;br /&gt;
&lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_layout}}&lt;br /&gt;
&lt;br /&gt;
=== HTML invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* Convert your logo to PNG format and upload it as the &amp;lt;code&amp;gt;logo.png&amp;lt;/code&amp;gt; configuration option. &lt;br /&gt;
{{Freeside:1.9:Documentation:Administration:invoice_templates|format=html}}&lt;br /&gt;
&lt;br /&gt;
=== Plaintext invoice templates ===&lt;br /&gt;
&lt;br /&gt;
* See the Text::Template documentation for details on the substitution language.&lt;br /&gt;
* You must call the invoice_lines() function at least once - pass it a number of lines, and it returns a list of array references, each of two elements: a service description column, and a price column. Alternatively, call invoice_lines() with no arguments, and pagination will be disabled - all invoice line items will print on one page, with no padding (recommended for email invoices).&lt;br /&gt;
* Descriptions of variables are available in [[Freeside:1.9:Documentation:Template:invoice_html|invoice_html]]&lt;br /&gt;
&lt;br /&gt;
=== Misc ===&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next customer number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number customers starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(pg_get_serial_sequence('cust_main', 'custnum'), 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL, to number customers starting at 5000: &amp;lt;pre&amp;gt;ALTER TABLE cust_main AUTO_INCREMENT = 5000;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Manually setting next invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(pg_get_serial_sequence('cust_bill', 'invnum'), 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;ALTER TABLE cust_bill AUTO_INCREMENT = 5000;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Payment Receipts ==&lt;br /&gt;
&lt;br /&gt;
The [[Freeside:1.9:Documentation:Template:payment_receipt_email|payment_receipt_email]] template is used for manually applied payments.&lt;br /&gt;
&lt;br /&gt;
== Credit cards and Electronic checks ==&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Real-time_Processing | Real-time credit card and electronic check processing]]&lt;br /&gt;
* [[Freeside:1.9:Documentation:Administration:Batch_Processing | Batch credit card and electronic check processing]]&lt;br /&gt;
* Credit card expiration alerts: Customize the ''alerter_template'' configuration option and run &amp;lt;code&amp;gt;freeside-expiration-alerter&amp;lt;/code&amp;gt; daily.&lt;br /&gt;
* Credit card decline alerts: Customize the ''declinetemplate'' configuration option and set the ''emaildecline'' configuration option.&lt;br /&gt;
&lt;br /&gt;
= Misc =&lt;br /&gt;
&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:VoIP | VoIP]]&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:Time billing | Time billing]]&lt;br /&gt;
&amp;lt;!-- Superseded by Commissions below... * Setting up [[Freeside:1.9:Documentation:Administration:Referral credits|Referral credits]] --&amp;gt;&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:Commission|Commissions and Referrals]]&lt;br /&gt;
* Need to print to Windows printers?  Follow steps 1-4 of  [http://iharder.sourceforge.net/current/macosx/winmacprinter/ Share Your Windows Printer].&lt;br /&gt;
* Setting up [[Freeside:2.1:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:2.1:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
* [[Bulk DID Orders]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer/bin/freeside-daily&amp;diff=7420</id>
		<title>Freeside:1.7:Documentation:Developer/bin/freeside-daily</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Developer/bin/freeside-daily&amp;diff=7420"/>
				<updated>2012-08-01T07:48:38Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* DESCRIPTION */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==NAME==&lt;br /&gt;
freeside-daily - Run daily billing and invoice collection events.&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  freeside-daily [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] [ -l level ] [ -m ] [ -r ] [ -k ] user [ custnum custnum ... ]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
Bills customers and runs invoice collection events. Should be run from crontab daily.&lt;br /&gt;
&lt;br /&gt;
Bills customers. Searches for customers who are due for billing and calls the bill and collect methods of a cust_main object. See [[Freeside:1.7:Documentation:Developer/FS/cust main|FS::cust_main]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  -d: Pretend it's 'date'.  Date is in any format Date::Parse is happy with,&lt;br /&gt;
      but be careful.&lt;br /&gt;
 &lt;br /&gt;
  -y: In addition to -d, which specifies an absolute date, the -y switch&lt;br /&gt;
      specifies an offset, in days.  For example, &amp;quot;-y 15&amp;quot; would increment the&lt;br /&gt;
      &amp;quot;pretend date&amp;quot; 15 days from whatever was specified by the -d switch&lt;br /&gt;
      (or now, if no -d switch was given).&lt;br /&gt;
 &lt;br /&gt;
  -n: When used with &amp;quot;-d&amp;quot; and/or &amp;quot;-y&amp;quot;, specifies that invoices should be dated&lt;br /&gt;
      with today's date, regardless of the pretend date used to pre-generate&lt;br /&gt;
      the invoices.&lt;br /&gt;
 &lt;br /&gt;
  -p: Only process customers with the specified payby (I&amp;lt;CARD&amp;gt;, I&amp;lt;DCRD&amp;gt;, I&amp;lt;CHEK&amp;gt;, I&amp;lt;DCHK&amp;gt;, I&amp;lt;BILL&amp;gt;, I&amp;lt;COMP&amp;gt;, I&amp;lt;LECB&amp;gt;)&lt;br /&gt;
 &lt;br /&gt;
  -a: Only process customers with the specified agentnum&lt;br /&gt;
 &lt;br /&gt;
  -s: re-charge setup fees&lt;br /&gt;
 &lt;br /&gt;
  -v: enable debugging&lt;br /&gt;
 &lt;br /&gt;
  -l: debugging level&lt;br /&gt;
 &lt;br /&gt;
  -m: Experimental multi-process mode uses the job queue for multi-process and/or multi-machine billing.&lt;br /&gt;
 &lt;br /&gt;
  -r: Multi-process mode dry run option&lt;br /&gt;
 &lt;br /&gt;
  -k: skip notify_flat_delay and vacuum&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
user: From the mapsecrets file - see config.html from the base documentation&lt;br /&gt;
&lt;br /&gt;
custnum: if one or more customer numbers are specified, only bills those customers. Otherwise, bills all customers.&lt;br /&gt;
&lt;br /&gt;
==BUGS==&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Freeside:1.7:Documentation:Developer/FS/cust main|FS::cust_main]], config.html from the base documentation&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation&amp;diff=7049</id>
		<title>Freeside:2.1:Documentation:RT Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation&amp;diff=7049"/>
				<updated>2012-06-23T09:15:35Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* Prerequisites */&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/perldoc?HTML%3A%3AElementTable 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;''&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>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Upgrading&amp;diff=7048</id>
		<title>Freeside:2.3:Documentation:Upgrading</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Upgrading&amp;diff=7048"/>
				<updated>2012-06-23T07:48:16Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* Upgrade instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Note =&lt;br /&gt;
&lt;br /&gt;
These are the 2.1.X to 2.3 upgrade instructions.&lt;br /&gt;
&lt;br /&gt;
= Upgrade instructions =&lt;br /&gt;
&lt;br /&gt;
* (Debian) aptitude update; aptitude install libgeo-coder-googlev3-perl libgeo-googleearth-pluggable-perl libnet-snmp-perl&lt;br /&gt;
* (Other distributions) Install Geo::Coder::Googlev3, Geo::GoogleEarth::Pluggable and Net::SNMP&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;make install-perl-modules&amp;lt;/code&amp;gt;&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-upgrade username&amp;lt;/code&amp;gt;, passing the username of an internal Freeside user.&lt;br /&gt;
* If freeside-upgrade hangs, try stopping Apache, all Freeside processes, and anything else connected to your database, especially on older PostgreSQL versions.&lt;br /&gt;
* &amp;lt;code&amp;gt;make install-docs&amp;lt;/code&amp;gt;&lt;br /&gt;
* Restart Apache and the Freeside daemons.&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6632</id>
		<title>Freeside:2.1:Documentation:Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6632"/>
				<updated>2011-11-17T02:11:13Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Tested with Ubuntu 10.4 LTS&lt;br /&gt;
Step by step instructions&lt;br /&gt;
&lt;br /&gt;
== 1. Install the base system ==&lt;br /&gt;
- Only select the OpenSSH Package&lt;br /&gt;
 &lt;br /&gt;
== 2. Configure the network ==&lt;br /&gt;
&lt;br /&gt;
Change the server to static IP&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/network/interfaces&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace the below settings with you own ip addresses etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
        address 192.168.0.100&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 192.168.0.0&lt;br /&gt;
        broadcast 192.168.0.255&lt;br /&gt;
        gateway 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart networking&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/networking restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the hostname correctly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/hosts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the name of the host is ''server1.example.com''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;
192.168.0.100   server1.example.com     server1&lt;br /&gt;
&lt;br /&gt;
# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;
::1     localhost ip6-localhost ip6-loopback&lt;br /&gt;
fe00::0 ip6-localnet&lt;br /&gt;
ff00::0 ip6-mcastprefix&lt;br /&gt;
ff02::1 ip6-allnodes&lt;br /&gt;
ff02::2 ip6-allrouters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the name found in the hosts file and update the hostname file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo server1.example.com &amp;gt; /etc/hostname&lt;br /&gt;
/etc/init.d/hostname restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Update the system==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Install core packages==&lt;br /&gt;
Keep the system time correct&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install ntp ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache2 etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install apache2 libapache2-mod-perl2 postgresql-8.4 build-essential texlive-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Common Perl Packages - Packages are much faster to install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl &lt;br /&gt;
apt-get install libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl&lt;br /&gt;
apt-get install libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl &lt;br /&gt;
apt-get install libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl &lt;br /&gt;
apt-get install libtext-template-perl libnet-ping-external-perl libterm-readkey-perl libnet-ssleay-perl libhtml-tableextract-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional Perl Packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl &lt;br /&gt;
apt-get install liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl &lt;br /&gt;
apt-get install libnet-whois-raw-perl libtime-duration-perl liblocale-subcountry-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Modules not available as packages - Allow cpan to prepend any dependencies &lt;br /&gt;
- Cpan may complain about YAML you can optionally install this if you choose.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang Net::SSH&lt;br /&gt;
cpan HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI Email::Sender::Transport::SMTP::TLS DBIx::DBSchema HTML::ElementTable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==5. Prepare the system==&lt;br /&gt;
&lt;br /&gt;
Download latest freeside tar and extract&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /freesidesource&lt;br /&gt;
cd /freesidesource&lt;br /&gt;
wget http://www.freeside.biz/freeside/freeside-2.1.1.tar.gz&lt;br /&gt;
tar -zxvf freeside-2.1.1.tar.gz&lt;br /&gt;
chmod 777 -R /freesidesource&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grant permissions to freeside in postgresql&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''''Note''' - If your freeside database user's password contains a $ symbol, it is currently not handled properly by the &amp;quot;make create-rt&amp;quot; step of the integrated RT ticketing system install''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su postgres&lt;br /&gt;
$createuser -P freeside&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
Shall the new role be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;
$exit &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the Makefile&lt;br /&gt;
Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su freeside&lt;br /&gt;
$createdb -E Unicode freeside&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the encoding&lt;br /&gt;
*Uncomment client_encoding and set it to Latin1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/postgresql/8.4/main/postgresql.conf&lt;br /&gt;
/etc/init.d/postgresql-8.4 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure Apache&lt;br /&gt;
*Set user to freeside&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/apache2/httpd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User freeside&lt;br /&gt;
Group freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6. Install freeside==&lt;br /&gt;
&lt;br /&gt;
Build and Install the Perl modules - stay as freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
make perl-modules&lt;br /&gt;
su&lt;br /&gt;
make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoice Typesetting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the Web Interface&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Apache Config&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;
Drop back to freeside permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize Data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stay as freeside user and add additional users&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-adduser -g 1 fs_queue&lt;br /&gt;
freeside-adduser -g 1 fs_daily&lt;br /&gt;
freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add first freeside user / administrator&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:2.1:Documentation:RT_Installation:Ubuntu|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; entry from your conf table.&lt;br /&gt;
&lt;br /&gt;
EDIT - I have reports that the below still fails - just for now install the RT system to get everything going.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
psql freeside&lt;br /&gt;
delete from conf where name = 'ticket_system';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
* If freeside-setup fails its often due to a missing perl module - google the .pm filename and find and install the module&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6217</id>
		<title>Freeside:2.1:Documentation:Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6217"/>
				<updated>2011-01-09T03:04:58Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* 5. Prepare the system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Tested with Ubuntu 10.4 LTS&lt;br /&gt;
Step by step instructions&lt;br /&gt;
&lt;br /&gt;
== 1. Install the base system ==&lt;br /&gt;
- Only select the OpenSSH Package&lt;br /&gt;
 &lt;br /&gt;
== 2. Configure the network ==&lt;br /&gt;
&lt;br /&gt;
Change the server to static IP&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/network/interfaces&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace the below settings with you own ip addresses etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
        address 192.168.0.100&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 192.168.0.0&lt;br /&gt;
        broadcast 192.168.0.255&lt;br /&gt;
        gateway 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart networking&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/networking restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the hostname correctly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/hosts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;
192.168.0.100   server1.example.com     server1&lt;br /&gt;
&lt;br /&gt;
# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;
::1     localhost ip6-localhost ip6-loopback&lt;br /&gt;
fe00::0 ip6-localnet&lt;br /&gt;
ff00::0 ip6-mcastprefix&lt;br /&gt;
ff02::1 ip6-allnodes&lt;br /&gt;
ff02::2 ip6-allrouters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo server1.example.com &amp;gt; /etc/hostname&lt;br /&gt;
/etc/init.d/hostname restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Update the system==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Install core packages==&lt;br /&gt;
Keep the system time correct&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install ntp ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache2 etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install apache2 libapache2-mod-perl2 postgresql-8.4 build-essential texlive-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Common Perl Packages - Packages are much faster to install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl &lt;br /&gt;
apt-get install libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl&lt;br /&gt;
apt-get install libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl &lt;br /&gt;
apt-get install libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl &lt;br /&gt;
apt-get install libtext-template-perl libnet-ping-external-perl libterm-readkey-perl libnet-ssleay-perl libhtml-tableextract-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional Perl Packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl &lt;br /&gt;
apt-get install liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl &lt;br /&gt;
apt-get install libnet-whois-raw-perl libtime-duration-perl liblocale-subcountry-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Modules not available as packages - Allow cpan to prepend any dependencies &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang Net::SSH&lt;br /&gt;
cpan HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI Email::Sender::Transport::SMTP::TLS DBIx::DBSchema HTML::ElementTable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==5. Prepare the system==&lt;br /&gt;
&lt;br /&gt;
Download latest freeside tar and extract&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /freesidesource&lt;br /&gt;
cd /freesidesource&lt;br /&gt;
wget http://www.freeside.biz/freeside/freeside-2.1.1.tar.gz&lt;br /&gt;
tar -zxvf freeside-2.1.1.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grant permissions to freeside in postgresql&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''''Note''' - If your freeside database user's password contains a $ symbol, it is currently not handled properly by the &amp;quot;make create-rt&amp;quot; step of the integrated RT ticketing system install''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su postgres&lt;br /&gt;
$createuser -P freeside&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
Shall the new role be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;
$exit &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the Makefile&lt;br /&gt;
Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su freeside&lt;br /&gt;
$createdb -E Unicode freeside&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the encoding&lt;br /&gt;
*Uncomment client_encoding and set it to Latin1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/postgresql/8.4/main/postgresql.conf&lt;br /&gt;
/etc/init.d/postgresql-8.4 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure Apache&lt;br /&gt;
*Set user to freeside&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/apache2/httpd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User freeside&lt;br /&gt;
Group freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6. Install freeside==&lt;br /&gt;
&lt;br /&gt;
Build and Install the Perl modules - stay as freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
make perl-modules&lt;br /&gt;
su&lt;br /&gt;
make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoice Typesetting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the Web Interface&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Apache Config&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;
Drop back to freeside permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize Data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stay as freeside user and add additional users&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-adduser -g 1 fs_queue&lt;br /&gt;
freeside-adduser -g 1 fs_daily&lt;br /&gt;
freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add first freeside user / administrator&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:2.1:Documentation:RT_Installation:Ubuntu|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; entry from your conf table.&lt;br /&gt;
&lt;br /&gt;
EDIT - I have reports that the below still fails - just for now install the RT system to get everything going.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
psql freeside&lt;br /&gt;
delete from conf where name = 'ticket_system';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
* If freeside-setup fails its often due to a missing perl module - google the .pm filename and find and install the module&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6210</id>
		<title>Freeside:2.1:Documentation:Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6210"/>
				<updated>2011-01-08T18:08:15Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* 5. Prepare the system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Tested with Ubuntu 10.4 LTS&lt;br /&gt;
Step by step instructions&lt;br /&gt;
&lt;br /&gt;
== 1. Install the base system ==&lt;br /&gt;
- Only select the OpenSSH Package&lt;br /&gt;
 &lt;br /&gt;
== 2. Configure the network ==&lt;br /&gt;
&lt;br /&gt;
Change the server to static IP&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/network/interfaces&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace the below settings with you own ip addresses etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
        address 192.168.0.100&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 192.168.0.0&lt;br /&gt;
        broadcast 192.168.0.255&lt;br /&gt;
        gateway 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart networking&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/networking restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the hostname correctly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/hosts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;
192.168.0.100   server1.example.com     server1&lt;br /&gt;
&lt;br /&gt;
# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;
::1     localhost ip6-localhost ip6-loopback&lt;br /&gt;
fe00::0 ip6-localnet&lt;br /&gt;
ff00::0 ip6-mcastprefix&lt;br /&gt;
ff02::1 ip6-allnodes&lt;br /&gt;
ff02::2 ip6-allrouters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo server1.example.com &amp;gt; /etc/hostname&lt;br /&gt;
/etc/init.d/hostname restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Update the system==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Install core packages==&lt;br /&gt;
Keep the system time correct&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install ntp ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache2 etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install apache2 libapache2-mod-perl2 postgresql-8.4 build-essential texlive-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Common Perl Packages - Packages are much faster to install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl &lt;br /&gt;
apt-get install libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl&lt;br /&gt;
apt-get install libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl &lt;br /&gt;
apt-get install libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl &lt;br /&gt;
apt-get install libtext-template-perl libnet-ping-external-perl libterm-readkey-perl libnet-ssleay-perl libhtml-tableextract-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional Perl Packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl &lt;br /&gt;
apt-get install liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl &lt;br /&gt;
apt-get install libnet-whois-raw-perl libtime-duration-perl liblocale-subcountry-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Modules not available as packages - Allow cpan to prepend any dependencies &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang Net::SSH&lt;br /&gt;
cpan HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI Email::Sender::Transport::SMTP::TLS DBIx::DBSchema HTML::ElementTable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==5. Prepare the system==&lt;br /&gt;
&lt;br /&gt;
Download latest freeside tar and extract&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /freesidesource&lt;br /&gt;
cd /freesidesource&lt;br /&gt;
wget http://www.freeside.biz/freeside/freeside-2.1.1.tar.gz&lt;br /&gt;
tar -zxvf freeside-2.1.1.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grant permissions to freeside in postgresql&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''''Note''' - If your freeside database user's password contains a $ symbol, it is currently not handled properly by the &amp;quot;make create-rt step&amp;quot; of the integrated RT ticketing system install''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su postgres&lt;br /&gt;
$createuser -P freeside&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
Shall the new role be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;
$exit &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the Makefile&lt;br /&gt;
Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su freeside&lt;br /&gt;
$createdb -E Unicode freeside&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the encoding&lt;br /&gt;
*Uncomment client_encoding and set it to Latin1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/postgresql/8.4/main/postgresql.conf&lt;br /&gt;
/etc/init.d/postgresql-8.4 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure Apache&lt;br /&gt;
*Set user to freeside&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/apache2/httpd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User freeside&lt;br /&gt;
Group freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6. Install freeside==&lt;br /&gt;
&lt;br /&gt;
Build and Install the Perl modules - stay as freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
make perl-modules&lt;br /&gt;
su&lt;br /&gt;
make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoice Typesetting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the Web Interface&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Apache Config&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;
Drop back to freeside permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize Data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stay as freeside user and add additional users&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-adduser -g 1 fs_queue&lt;br /&gt;
freeside-adduser -g 1 fs_daily&lt;br /&gt;
freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add first freeside user / administrator&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:2.1:Documentation:RT_Installation:Ubuntu|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; entry from your conf table.&lt;br /&gt;
&lt;br /&gt;
EDIT - I have reports that the below still fails - just for now install the RT system to get everything going.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
psql freeside&lt;br /&gt;
delete from conf where name = 'ticket_system';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
* If freeside-setup fails its often due to a missing perl module - google the .pm filename and find and install the module&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6209</id>
		<title>Freeside:2.1:Documentation:Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6209"/>
				<updated>2011-01-08T18:05:37Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* 5. Prepare the system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Tested with Ubuntu 10.4 LTS&lt;br /&gt;
Step by step instructions&lt;br /&gt;
&lt;br /&gt;
== 1. Install the base system ==&lt;br /&gt;
- Only select the OpenSSH Package&lt;br /&gt;
 &lt;br /&gt;
== 2. Configure the network ==&lt;br /&gt;
&lt;br /&gt;
Change the server to static IP&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/network/interfaces&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace the below settings with you own ip addresses etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
        address 192.168.0.100&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 192.168.0.0&lt;br /&gt;
        broadcast 192.168.0.255&lt;br /&gt;
        gateway 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart networking&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/networking restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the hostname correctly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/hosts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;
192.168.0.100   server1.example.com     server1&lt;br /&gt;
&lt;br /&gt;
# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;
::1     localhost ip6-localhost ip6-loopback&lt;br /&gt;
fe00::0 ip6-localnet&lt;br /&gt;
ff00::0 ip6-mcastprefix&lt;br /&gt;
ff02::1 ip6-allnodes&lt;br /&gt;
ff02::2 ip6-allrouters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo server1.example.com &amp;gt; /etc/hostname&lt;br /&gt;
/etc/init.d/hostname restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Update the system==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Install core packages==&lt;br /&gt;
Keep the system time correct&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install ntp ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache2 etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install apache2 libapache2-mod-perl2 postgresql-8.4 build-essential texlive-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Common Perl Packages - Packages are much faster to install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl &lt;br /&gt;
apt-get install libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl&lt;br /&gt;
apt-get install libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl &lt;br /&gt;
apt-get install libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl &lt;br /&gt;
apt-get install libtext-template-perl libnet-ping-external-perl libterm-readkey-perl libnet-ssleay-perl libhtml-tableextract-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional Perl Packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl &lt;br /&gt;
apt-get install liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl &lt;br /&gt;
apt-get install libnet-whois-raw-perl libtime-duration-perl liblocale-subcountry-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Modules not available as packages - Allow cpan to prepend any dependencies &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang Net::SSH&lt;br /&gt;
cpan HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI Email::Sender::Transport::SMTP::TLS DBIx::DBSchema HTML::ElementTable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==5. Prepare the system==&lt;br /&gt;
&lt;br /&gt;
Download latest freeside tar and extract&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /freesidesource&lt;br /&gt;
cd /freesidesource&lt;br /&gt;
wget http://www.freeside.biz/freeside/freeside-2.1.1.tar.gz&lt;br /&gt;
tar -zxvf freeside-2.1.1.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grant permissions to freeside in postgresql&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''''Note''' - If your freeside database user's password contains a $ symbol, it is currently not handled properly by the make create-rt step of the integrated RT ticketing system install''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su postgres&lt;br /&gt;
$createuser -P freeside&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
Shall the new role be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;
$exit &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the Makefile&lt;br /&gt;
Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su freeside&lt;br /&gt;
$createdb -E Unicode freeside&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the encoding&lt;br /&gt;
*Uncomment client_encoding and set it to Latin1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/postgresql/8.4/main/postgresql.conf&lt;br /&gt;
/etc/init.d/postgresql-8.4 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure Apache&lt;br /&gt;
*Set user to freeside&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/apache2/httpd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User freeside&lt;br /&gt;
Group freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6. Install freeside==&lt;br /&gt;
&lt;br /&gt;
Build and Install the Perl modules - stay as freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
make perl-modules&lt;br /&gt;
su&lt;br /&gt;
make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoice Typesetting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the Web Interface&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Apache Config&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;
Drop back to freeside permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize Data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stay as freeside user and add additional users&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-adduser -g 1 fs_queue&lt;br /&gt;
freeside-adduser -g 1 fs_daily&lt;br /&gt;
freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add first freeside user / administrator&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:2.1:Documentation:RT_Installation:Ubuntu|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; entry from your conf table.&lt;br /&gt;
&lt;br /&gt;
EDIT - I have reports that the below still fails - just for now install the RT system to get everything going.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
psql freeside&lt;br /&gt;
delete from conf where name = 'ticket_system';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
* If freeside-setup fails its often due to a missing perl module - google the .pm filename and find and install the module&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6208</id>
		<title>Freeside:2.1:Documentation:Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:Installation:Ubuntu&amp;diff=6208"/>
				<updated>2011-01-08T18:03:34Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* 5. Prepare the system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Tested with Ubuntu 10.4 LTS&lt;br /&gt;
Step by step instructions&lt;br /&gt;
&lt;br /&gt;
== 1. Install the base system ==&lt;br /&gt;
- Only select the OpenSSH Package&lt;br /&gt;
 &lt;br /&gt;
== 2. Configure the network ==&lt;br /&gt;
&lt;br /&gt;
Change the server to static IP&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/network/interfaces&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace the below settings with you own ip addresses etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
&lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
        address 192.168.0.100&lt;br /&gt;
        netmask 255.255.255.0&lt;br /&gt;
        network 192.168.0.0&lt;br /&gt;
        broadcast 192.168.0.255&lt;br /&gt;
        gateway 192.168.0.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart networking&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/etc/init.d/networking restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the hostname correctly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/hosts&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
127.0.0.1       localhost.localdomain   localhost&lt;br /&gt;
192.168.0.100   server1.example.com     server1&lt;br /&gt;
&lt;br /&gt;
# The following lines are desirable for IPv6 capable hosts&lt;br /&gt;
::1     localhost ip6-localhost ip6-loopback&lt;br /&gt;
fe00::0 ip6-localnet&lt;br /&gt;
ff00::0 ip6-mcastprefix&lt;br /&gt;
ff02::1 ip6-allnodes&lt;br /&gt;
ff02::2 ip6-allrouters&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo server1.example.com &amp;gt; /etc/hostname&lt;br /&gt;
/etc/init.d/hostname restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==3. Update the system==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==4. Install core packages==&lt;br /&gt;
Keep the system time correct&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install ntp ntpdate&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache2 etc&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install apache2 libapache2-mod-perl2 postgresql-8.4 build-essential texlive-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Common Perl Packages - Packages are much faster to install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl &lt;br /&gt;
apt-get install libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl&lt;br /&gt;
apt-get install libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl &lt;br /&gt;
apt-get install libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl &lt;br /&gt;
apt-get install libtext-template-perl libnet-ping-external-perl libterm-readkey-perl libnet-ssleay-perl libhtml-tableextract-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Additional Perl Packages&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl &lt;br /&gt;
apt-get install liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl &lt;br /&gt;
apt-get install libnet-whois-raw-perl libtime-duration-perl liblocale-subcountry-perl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Modules not available as packages - Allow cpan to prepend any dependencies &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang Net::SSH&lt;br /&gt;
cpan HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI Email::Sender::Transport::SMTP::TLS DBIx::DBSchema HTML::ElementTable&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==5. Prepare the system==&lt;br /&gt;
&lt;br /&gt;
Download latest freeside tar and extract&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /freesidesource&lt;br /&gt;
cd /freesidesource&lt;br /&gt;
wget http://www.freeside.biz/freeside/freeside-2.1.1.tar.gz&lt;br /&gt;
tar -zxvf freeside-2.1.1.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grant permissions to freeside in postgresql&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''''Note''' - If your database password contains a $ symbol, it is currently not handled properly by the make create-rt step of the integrated RT ticketing system install''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su postgres&lt;br /&gt;
$createuser -P freeside&lt;br /&gt;
Enter password for new role: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new role be a superuser? (y/n) n&lt;br /&gt;
Shall the new role be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new role be allowed to create more new roles? (y/n) n&lt;br /&gt;
$exit &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit the Makefile&lt;br /&gt;
Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
nano Makefile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the database&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#su freeside&lt;br /&gt;
$createdb -E Unicode freeside&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the encoding&lt;br /&gt;
*Uncomment client_encoding and set it to Latin1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/postgresql/8.4/main/postgresql.conf&lt;br /&gt;
/etc/init.d/postgresql-8.4 restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure Apache&lt;br /&gt;
*Set user to freeside&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/apache2/httpd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Add&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
User freeside&lt;br /&gt;
Group freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6. Install freeside==&lt;br /&gt;
&lt;br /&gt;
Build and Install the Perl modules - stay as freeside user&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
cd /freesidesource/freeside-2.1.1&lt;br /&gt;
make perl-modules&lt;br /&gt;
su&lt;br /&gt;
make install-perl-modules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create config files&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make create-config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Invoice Typesetting&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the Web Interface&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Apache Config&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;
Drop back to freeside permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Initialize Data&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stay as freeside user and add additional users&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
freeside-adduser -g 1 fs_queue&lt;br /&gt;
freeside-adduser -g 1 fs_daily&lt;br /&gt;
freeside-adduser -g 1 fs_selfservice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add first freeside user / administrator&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-adduser -g 1 username&lt;br /&gt;
$ htpasswd /usr/local/etc/freeside/htpasswd username&lt;br /&gt;
Password: &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:2.1:Documentation:RT_Installation:Ubuntu|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; entry from your conf table.&lt;br /&gt;
&lt;br /&gt;
EDIT - I have reports that the below still fails - just for now install the RT system to get everything going.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su freeside&lt;br /&gt;
psql freeside&lt;br /&gt;
delete from conf where name = 'ticket_system';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot&lt;br /&gt;
&lt;br /&gt;
== Trouble Shooting ==&lt;br /&gt;
* If freeside-setup fails its often due to a missing perl module - google the .pm filename and find and install the module&lt;/div&gt;</summary>
		<author><name>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation:Ubuntu&amp;diff=6207</id>
		<title>Freeside:2.1:Documentation:RT Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation:Ubuntu&amp;diff=6207"/>
				<updated>2011-01-08T13:21:10Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* Install Dependancies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Install RT on Ubuntu / Debian system - Tested with Ubuntu 10.4 Lts&lt;br /&gt;
&lt;br /&gt;
==Install Dependancies==&lt;br /&gt;
* Install dependancy for Crypt::SSLeay&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libssl-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Install Perl Modules&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Apache::Session HTML::TreeBuilder HTML::FormatText Test::Inline Class::ReturnValue DBIx::SearchBuilder Log::Dispatch Locale::Maketext::Lexicon &lt;br /&gt;
cpan Locale::Maketext::Fuzzy Text::Wrapper Time::ParseDate Term::ReadKey Text::Autoformat Text::Quoted Regexp::Common HTML::Scrubber Tree::Simple&lt;br /&gt;
cpan Crypt::SSLeay GD::Graph UNIVERSAL::require XML::RSS Calendar::Simple GD::Graph GD::Text CSS::Squish &lt;br /&gt;
cpan File::ShareDir HTML::RewriteAttributes MIME::Types  PerlIO::eol GnuPG::Interface Data::ICal Text::WikiFormat Net::Server&lt;br /&gt;
cpan HTTP::Server::Simple HTTP::Server::Simple::Mason Module::Versions::Report DateTime::Set IPC::Run::SafeHandles&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 /freesidesource/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;''&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;
* Add the following to your httpd.conf: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/REST/1.0/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;DirectoryMatch &amp;quot;^%/var/www/freeside/rt/.*NoAuth/images&amp;quot;&amp;gt;&lt;br /&gt;
SetHandler None&lt;br /&gt;
&amp;lt;/DirectoryMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Ticket/Attachment&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Search&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&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>Celestius</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation:Ubuntu&amp;diff=6206</id>
		<title>Freeside:2.1:Documentation:RT Installation:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.1:Documentation:RT_Installation:Ubuntu&amp;diff=6206"/>
				<updated>2011-01-08T13:07:03Z</updated>
		
		<summary type="html">&lt;p&gt;Celestius: /* 1. Install Dependancies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
Install RT on Ubuntu / Debian system - Tested with Ubuntu 10.4 Lts&lt;br /&gt;
&lt;br /&gt;
==Install Dependancies==&lt;br /&gt;
Install dependancy for Crypt::SSLeay&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install libssl-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Install Perl Modules&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cpan Apache::Session HTML::TreeBuilder HTML::FormatText Test::Inline Class::ReturnValue DBIx::SearchBuilder Log::Dispatch Locale::Maketext::Lexicon &lt;br /&gt;
cpan Locale::Maketext::Fuzzy Text::Wrapper Time::ParseDate Term::ReadKey Text::Autoformat Text::Quoted Regexp::Common HTML::Scrubber Tree::Simple&lt;br /&gt;
cpan Crypt::SSLeay GD::Graph UNIVERSAL::require XML::RSS Calendar::Simple GD::Graph GD::Text CSS::Squish &lt;br /&gt;
cpan File::ShareDir HTML::RewriteAttributes MIME::Types  PerlIO::eol GnuPG::Interface Data::ICal Text::WikiFormat Net::Server&lt;br /&gt;
cpan HTTP::Server::Simple HTTP::Server::Simple::Mason Module::Versions::Report DateTime::Set IPC::Run::SafeHandles&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 /freesidesource/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;''&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;
* Add the following to your httpd.conf: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/REST/1.0/NoAuth&amp;gt;&lt;br /&gt;
&amp;lt;Limit GET POST&amp;gt;&lt;br /&gt;
allow from all&lt;br /&gt;
Satisfy any   &lt;br /&gt;
SetHandler perl-script&lt;br /&gt;
PerlHandler HTML::Mason&lt;br /&gt;
&amp;lt;/Limit&amp;gt;&lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;DirectoryMatch &amp;quot;^%/var/www/freeside/rt/.*NoAuth/images&amp;quot;&amp;gt;&lt;br /&gt;
SetHandler None&lt;br /&gt;
&amp;lt;/DirectoryMatch&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Ticket/Attachment&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#replace /var/www/freeside with your freeside document root&lt;br /&gt;
&amp;lt;Directory /var/www/freeside/rt/Search&amp;gt; &lt;br /&gt;
SetHandler perl-script &lt;br /&gt;
PerlHandler HTML::Mason &lt;br /&gt;
&amp;lt;/Directory&amp;gt;&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>Celestius</name></author>	</entry>

	</feed>