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

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7480</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7480"/>
				<updated>2012-11-18T22:44:16Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Common modules not common but necessary on CentOS/RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== Common modules not common but necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC::Run::SafeHandles IPC::Run::SafeHandles]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime::Set DateTime::Set]&lt;br /&gt;
* [http://search.cpan.org/dist/POE POE]&lt;br /&gt;
* [http://search.cpan.org/dist/Sys::SigAction Sys::SigAction]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7479</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7479"/>
				<updated>2012-11-18T22:43:52Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Common modules not common but necessary on CentOS/RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== Common modules not common but necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC::Run::SafeHandles IPC::Run::SafeHandles]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime::Set DateTime::Set]&lt;br /&gt;
* [http://search.cpan.org/dist/POE POE]&lt;br /&gt;
* [http://search.cpan.org/dist/POE Sys::SigAction Sys::SigAction]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7478</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7478"/>
				<updated>2012-11-18T22:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Common modules not common but necessary on CentOS/RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== Common modules not common but necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC::Run::SafeHandles IPC::Run::SafeHandles]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime::Set DateTime::Set]&lt;br /&gt;
* [http://search.cpan.org/dist/POE POE]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7477</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7477"/>
				<updated>2012-11-18T21:22:24Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Common modules not common but necessary on CentOS/RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== Common modules not common but necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC::Run::SafeHandles IPC::Run::SafeHandles]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime::Set DateTime::Set]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7476</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7476"/>
				<updated>2012-11-18T20:58:16Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* necessary on CentOS/RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== Common modules not common but necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7475</id>
		<title>Freeside:2.3:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:2.3:Documentation:Installation&amp;diff=7475"/>
				<updated>2012-11-18T20:57:13Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Common modules */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Install Freeside on a firewalled, private server, not a public (web, RADIUS, etc.) server.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
* [http://www.perl.org/ Perl], minimum version 5.8.4&lt;br /&gt;
* [http://httpd.apache.org/ Apache], SSL highly recommended)&lt;br /&gt;
* [http://perl.apache.org/ mod_perl]&lt;br /&gt;
** If compiling your own mod_perl, make sure you set the EVERYTHING=1 compile-time option&lt;br /&gt;
* A '''transactional''' database engine [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A supported] by Perl's [http://dbi.perl.org/ DBI]. &lt;br /&gt;
** [http://www.postgresql.org PostgreSQL] is recommended (v7.2 or later, v8.1 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported.  DBIx::DBSchema 0.35 or later is required.&lt;br /&gt;
&lt;br /&gt;
''Note: the above only applies to the database used by the Freeside software itself. Freeside can integrate with RADIUS and other servers running a different database than the backend.''&lt;br /&gt;
&lt;br /&gt;
* TeX (teTeX / TeX Live) and Ghostscript (included with most distributions) (Optional, enables typeset invoices)&lt;br /&gt;
&lt;br /&gt;
=== Perl modules ===&lt;br /&gt;
&lt;br /&gt;
==== Popular modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in most distributions.&lt;br /&gt;
&amp;lt;!-- reference: CentOS/RHEL 5, i.e. http://linux.mirrors.es.net/centos/5/os/x86_64/CentOS/ &lt;br /&gt;
 if its there, its everywhere... right? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libwww-perl libwww-perl] (CPAN: &amp;quot;install Bundle::LWP&amp;quot;)&lt;br /&gt;
** [http://search.cpan.org/dist/URI URI]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Tagset HTML::Tagset]&lt;br /&gt;
** [http://search.cpan.org/dist/HTML-Parser HTML::Parser]&lt;br /&gt;
* [http://search.cpan.org/dist/DBI DBI]&lt;br /&gt;
** [http://search.cpan.org/search?mode=module&amp;amp;query=DBD%3A%3A DBD] for your database engine ([http://search.cpan.org/dist/DBD-Pg DBD::Pg] for PostgreSQL or [http://search.cpan.org/dist/DBD-mysql DBD::mysql] for MySQL)&lt;br /&gt;
* [http://search.cpan.org/dist/TimeDate TimeDate] (CPAN: &amp;quot;install Date::Format&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
&lt;br /&gt;
==== Common modules ====&lt;br /&gt;
&lt;br /&gt;
These modules are included in many distributions.&lt;br /&gt;
&amp;lt;!-- more nebulous criteria, but should be included in at least Debian, FreeBSD ports, have sigificant Perl mindshare --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Chart Chart] (CPAN: &amp;quot;install Chart::Base&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Cache-Cache Cache::Cache]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Natural DateTime-Format-Natural]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender Email::Sender]&lt;br /&gt;
* [http://search.cpan.org/dist/Email-Sender-Transport-SMTP-TLS Email::Sender::Transport::SMTP::TLS]&lt;br /&gt;
* [http://search.cpan.org/dist/Excel-Writer-XLSX Excel::Writer::XLSX]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use version 5.423)&lt;br /&gt;
* [http://search.cpan.org/dist/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping Net::Ping]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Ping-External Net::Ping::External]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&lt;br /&gt;
&lt;br /&gt;
===== necessary on CentOS/RedHat =====&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::TableExtract HTML::TableExtract]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML::ElementTable HTML::ElementTable]&lt;br /&gt;
* [http://search.cpan.org/dist/IO::Scalar IO::Scalar]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::GoogleEarth::Pluggable Geo::GoogleEarth::Pluggable]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML XML::LibXML]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::LibXML::LazyBuilder XML::LibXML::LazyBuilder]&lt;br /&gt;
* [http://search.cpan.org/dist/Geo::Coder::Googlev3 Geo::Coder::Googlev3]&lt;br /&gt;
* [http://search.cpan.org/dist/GD::Barcode GD::Barcode]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::OpenSSH Net::OpenSSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net::SNMP Net::SNMP]&lt;br /&gt;
* [http://search.cpan.org/dist/SOAP::Lite SOAP::Lite]&lt;br /&gt;
* [http://search.cpan.org/dist/XML::Simple XML::Simple]&lt;br /&gt;
* [http://search.cpan.org/dist/Date::Simple Date::Simple]&lt;br /&gt;
&lt;br /&gt;
==== Additional modules ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- our modules (DBIx::DBSchema, Net::SSH, H:W:SelectLayers, etc.) and other modules with questionable mindshare and distro pickup. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Authen-Passphrase Authen::Passphrase]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Business-US-USPS-WebTools Business::US::USPS::WebTools]&lt;br /&gt;
* [http://search.cpan.org/dist/CAM-PDF CAM::PDF]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt-OpenSSL-RSA Crypt::OpenSSL::RSA]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&lt;br /&gt;
* [http://search.cpan.org/dist/File-Slurp File::Slurp]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Defang HTML::Defang]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run IPC::Run]&lt;br /&gt;
* [http://search.cpan.org/dist/IPC-Run3 IPC::Run3]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-NameParse Lingua::EN::NameParse]&lt;br /&gt;
* [http://search.cpan.org/dist/Lingua-EN-Inflect Lingua::EN::Inflect]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Domain-TLD Net::Domain::TLD]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
&lt;br /&gt;
==== Optional modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Fax-Hylafax-Client Fax::Hylafax::Client] ''(Required if faxing invoices)''&lt;br /&gt;
* [http://search.cpan.org/dist/Apache-DBI Apache::DBI] ''(recommended for better web interface performance)''&lt;br /&gt;
&lt;br /&gt;
==== Note on missing modules ====&lt;br /&gt;
&lt;br /&gt;
Prerequisites missing from the documentation?  Please add them.&lt;br /&gt;
&lt;br /&gt;
== Download Freeside ==&lt;br /&gt;
* Get the source from one of the normal places &lt;br /&gt;
**[http://www.freeside.biz/freeside/developers.html Open source link from the home page]&lt;br /&gt;
**[http://www.freeside.biz/freeside/git.html Anonymous git]&lt;br /&gt;
* Uncompress the tarball&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== System User ===&lt;br /&gt;
* Add the user and group `freeside' to your system.&lt;br /&gt;
=== Database User ===&lt;br /&gt;
* Allow the freeside user full access to the freeside database. &lt;br /&gt;
with Postgresql:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[ as postgres/pgsql user ]&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;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u root password 'set_a_root_database_password'&lt;br /&gt;
$ mysql -u root -p&lt;br /&gt;
mysql&amp;gt; GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Database Access ===&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Configure the DATASOURCE to your DBI data source&lt;br /&gt;
*** Set the DB_TYPE (Pg or mysql)&lt;br /&gt;
*** See the DBI manpage and the manpage for your DBD for the exact syntax of your DBI data source. &lt;br /&gt;
** Set DB_PASSWORD to the freeside database user's password.&lt;br /&gt;
&lt;br /&gt;
=== Database ===&lt;br /&gt;
* Add the freeside database to your database engine: &lt;br /&gt;
with Postgres: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E UTF8 freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with MySQL: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ mysqladmin -u freeside -p create freeside &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Perl Modules ===&lt;br /&gt;
* Build and install the Perl modules: &lt;br /&gt;
&amp;lt;pre&amp;gt;&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;
=== Basic configuration Files ===&lt;br /&gt;
* Create the necessary configuration files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&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;
* If you are using typeset invoices, install fslongtable.sty:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-texmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Apache &amp;amp; Web GUI ===&lt;br /&gt;
* Configuration&lt;br /&gt;
** Enable mod_perl&lt;br /&gt;
** Run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;gt;&lt;br /&gt;
*** If you have other things being served by Apache on this machine (hopefully internal things), it is recommended to run a '''separate''' iteration of Apache as the freeside user.&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;FREESIDE_DOCUMENT_ROOT&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
* To install the web interface, run: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_VERSION&amp;lt;/code&amp;gt; to '''1''' (mod_perl v1.XX), '''1.99''' (mod_perl v2 prereleases up to and including 1.999_21, shipped with Debian 3.1, CentOS/RHEL 4, others), or '''2''' (mod_perl v2 proper and prereleases 1.999_22 and later).&lt;br /&gt;
&lt;br /&gt;
* Edit the Makefile and set &amp;lt;code&amp;gt;APACHE_CONF&amp;lt;/code&amp;gt; to the location of an Apache include directory (not a file).  (If your Apache doesn't have an existing include directory, create one and add a line such as &amp;quot;&amp;lt;code&amp;gt;Include /etc/apache/conf.d&amp;lt;/code&amp;gt;&amp;quot; to httpd.conf.)&lt;br /&gt;
&lt;br /&gt;
* To install the apache configs, run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&lt;br /&gt;
=== Initialize Data ===&lt;br /&gt;
* As the freeside UNIX user, run &amp;lt;code&amp;gt;freeside-setup -d your.domain.name&amp;lt;/code&amp;gt; to create the database tables and initial data.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ freeside-setup -d example.com&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional System Users ===&lt;br /&gt;
* Create the Freeside system users: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&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;
=== Create Freeside Users ===&lt;br /&gt;
* Create one or more Freeside users (your internal sales/tech folks, not customer accounts):&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;
Additional users can be added using the same command or from the web interface.&lt;br /&gt;
&lt;br /&gt;
=== Queue Daemon ===&lt;br /&gt;
&lt;br /&gt;
* freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup (Do this manually, or edit the top-level Makefile, replacing &amp;lt;code&amp;gt;INIT_FILE&amp;lt;/code&amp;gt; with the appropriate location on your system and &amp;lt;code&amp;gt;QUEUED_USER&amp;lt;/code&amp;gt; with the username of a Freeside user you created above, and run &amp;lt;code&amp;gt;make install-init&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
=== RT ===&lt;br /&gt;
* Either [[Freeside:1.9:Documentation:RT_Installation|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;
&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;
=== Finalize ===&lt;br /&gt;
* Restart Apache (httpd) and log into the web interface using the username and password you entered above.&lt;br /&gt;
&lt;br /&gt;
* Now proceed to the initial [[Freeside:1.9:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=6019</id>
		<title>Freeside:1.9:Documentation:Administration</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Administration&amp;diff=6019"/>
				<updated>2010-10-13T00:52:44Z</updated>
		
		<summary type="html">&lt;p&gt;Builder: /* Manually setting next invoice number sequence */&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;
= 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;
&lt;br /&gt;
== External (svc_external) ==&lt;br /&gt;
&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;
&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;
* 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 invoice number sequence ====&lt;br /&gt;
&lt;br /&gt;
* With PostgreSQL, to number invoices starting at 5000: &amp;lt;pre&amp;gt;SELECT SETVAL(cust_bill_invnum_seq, 4999);&amp;lt;/pre&amp;gt;&lt;br /&gt;
* With MySQL you must change the auto_increment value for the cust_bill table.  For example, to number invoices starting at 5000:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    [root@system ~]# mysql freeside -u root -p &lt;br /&gt;
    Enter password:&lt;br /&gt;
    Reading table information for completion of table and column names&lt;br /&gt;
    You can turn off this feature to get a quicker startup with -A&lt;br /&gt;
&lt;br /&gt;
    Welcome to the MySQL monitor.  Commands end with ; or \g.&lt;br /&gt;
    Your MySQL connection id is 289&lt;br /&gt;
    Server version: 5.0.77 Source distribution&lt;br /&gt;
&lt;br /&gt;
    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.&lt;br /&gt;
&lt;br /&gt;
    mysql&amp;gt; ALTER TABLE cust_bill AUTO_INCREMENT = 5000;&lt;br /&gt;
    Query OK, 1 row affected (0.03 sec)&lt;br /&gt;
    Records: 1  Duplicates: 0  Warnings: 0&lt;br /&gt;
&lt;br /&gt;
    mysql&amp;gt; quit&lt;br /&gt;
    Bye&lt;br /&gt;
    [root@system ~]#&lt;br /&gt;
&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:1.9:Documentation:Administration:Encrypted Credit Cards | Encrypted Credit Cards]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:Texas Tax | Texas Tax]]&lt;br /&gt;
* Setting up [[Freeside:1.9:Documentation:Administration:VoIP | VoIP]]&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:1.9: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:1.9:Documentation:Administration:Slony | Slony replication and failover]]&lt;br /&gt;
* Using a non-standard [[Freeside:1.9:Documentation:Administration:PostgreSQL_Schema | PostgreSQL Schema]]&lt;br /&gt;
&lt;br /&gt;
{{ContextSensitiveHelp}}&lt;/div&gt;</summary>
		<author><name>Builder</name></author>	</entry>

	</feed>