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

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Installation&amp;diff=5718</id>
		<title>Freeside:1.9:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Installation&amp;diff=5718"/>
				<updated>2010-05-09T13:10:44Z</updated>
		
		<summary type="html">&lt;p&gt;Danielblues: /* RT */ delete from conf&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;
Please note that these are the 1.9 installation instructions.  Do not attempt to use them to install 1.7/1.8, or edit them to correct differences with those releases.&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;
** mod_perl v2 is now supported.&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;
* teTeX 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/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;
==== 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/Color-Scheme Color::Scheme]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt::PasswdMD5 Crypt::PasswdMD5]&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/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;
== 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/cvs.html Anonymous CVS]&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 sql_ascii freeside&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with Postgres 8.3 +: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ su freeside&lt;br /&gt;
$ createdb -E LATIN1 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;
=== 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>Danielblues</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5717</id>
		<title>Freeside talk:1.9:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5717"/>
				<updated>2010-05-09T13:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;Danielblues: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I suggest adding after (RT) &amp;quot;delete the ticket_system entry from your conf table.&amp;quot; this info.&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;
Agreed.  The documentation is a wiki.  Add it.  [[User:Ivan|Ivan]]&lt;/div&gt;</summary>
		<author><name>Danielblues</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5704</id>
		<title>Freeside talk:1.9:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5704"/>
				<updated>2010-05-03T11:49:48Z</updated>
		
		<summary type="html">&lt;p&gt;Danielblues: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I sudjest adding after (RT) &amp;quot;delete the ticket_system entry from your conf table.&amp;quot; this info.&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;/div&gt;</summary>
		<author><name>Danielblues</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5703</id>
		<title>Freeside talk:1.9:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside_talk:1.9:Documentation:Installation&amp;diff=5703"/>
				<updated>2010-05-03T11:46:32Z</updated>
		
		<summary type="html">&lt;p&gt;Danielblues: Delete ticket_system from db&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I sujest adding after &amp;quot;delete the ticket_system entry from your conf table.&amp;quot; this info.&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;/div&gt;</summary>
		<author><name>Danielblues</name></author>	</entry>

	</feed>