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

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=5011</id>
		<title>Freeside:1.7:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=5011"/>
				<updated>2009-07-19T22:41:31Z</updated>
		
		<summary type="html">&lt;p&gt;DronaCelac: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[http://vfcpug.org/meta/quad/images/text-265.htm porm] [http://rvpark4u.com/weblog/skins/rsd/files/page188.html wholesale cheap electronics] [http://caypkiwanis.org/main/wp-content/uploads/2007/09/article-818.htm paris hilton and nick carter sex tape video] [http://thewholesaler.co.uk/newsletter/data/images/article1695.html lindsay lohan hot video] [http://tatlin.com/gallery/wp-content/uploads/2008/index.htm http] [http://casv.ca/secondary/class/install/2519.html mac vcd x serial] [http://arccc-cccaa.org/images/thumbs/topic-1633.htm part time job london uk] [http://appleturnover.tv/about/images/news-148-20090626.html movie school summer] [http://caypkiwanis.org/main/wp-content/uploads/2007/09/sitemap.htm site] [http://ackcsc.org/club.bak/media/flash/dewolos.htm email campaign] [http://appleturnover.tv/about/images/news-203-20090704.html tel drug of pennsylvania] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2614.htm axle bolts] [http://mdabc.net/test/files/index.htm link] [http://cavalierpedigrees.com/XOOPS/images/text399.htm movie character personality test] [http://kazak.ca/buzz/data/media/eldeldeda1722.htm control system analysis] [http://marja-leena-rathje.info/ssp_director/config/conf/article403.html movie scripts sling blade] [http://aquisechatea.com/galeria/albums/userpics/10002/page1751.html nissan frontier 2000 gas mileage] [http://woningpagina.com/pics/flash/comment-909.html s video wireless sender] [http://arccc-cccaa.org/images/thumbs/topic-1723.htm pires penalty kick video] [http://paarc.ca/images/thumbs/article2364.html lori heuring] [http://thewholesaler.co.uk/newsletter/data/images/article1634.html movie trailer voice guy] [http://brixhost.net/my/attachments/media/news-329-2009-06-30.html pharynx] [http://casv.ca/secondary/class/install/1411.html titanium diaphragm] [http://marja-leena-rathje.info/ssp_director/config/conf/article522.html mudvayne l.d 50] [http://appleturnover.tv/about/images/news-2506-20090627.html ati radeon x300 video card] [http://capstonerealty.ph/gallery/Farm_Lots/mini/resource-323.html porcine respiratory and reproductive syndrome] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-2428.htm xerocomus badius] [http://marja-leena-rathje.info/ssp_director/config/conf/article1348.html anderson lee pamela pic tommy video] [http://beachcki.org/officers/wpThumbnails/pics/topic38.htm india mobile ringtone] [http://ackcsc.org/club.bak/media/flash/acrobugb.htm scottsdale real estate site] [http://kazak.ca/buzz/data/media/c4tacelh746.htm actonel assistance programs] [http://rvpark4u.com/weblog/skins/rsd/files/page1468.html network digital video recorders] [http://sahardesign.com/files/styles/article575.html melissa etheridge videos] [http://rvpark4u.com/weblog/skins/rsd/files/page1106.html prelude eliot] [http://rvpark4u.com/weblog/skins/rsd/files/page2342.html bin laden games] [http://atomized.ca/2006/12/news-544-20090630.html lafffy taffy video] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-128.htm american jobs in england] [http://aarh.net/generator/assets/gallery3/topic-1731.html roosevelt field theatre] [http://brixhost.net/my/attachments/media/news-1913-2009-07-06.html job match testing] [http://cavaliersonline.com/photos/icons/text280.htm legend music riding video] [http://rubyarts.org/images/icons/news-1704.html james brown celebrity hot tub] [http://tatlin.com/gallery/wp-content/uploads/2008/topic-72.htm adderall 3steps] [http://rubyarts.org/images/icons/news-861.html jfk the movie] [http://aquisechatea.com/galeria/albums/userpics/10002/page1353.html ice age movie merchandise] [http://rubyarts.org/images/icons/news-1744.html 1001 jokes.com] [http://mdabc.net/test/files/new617.htm speed razor crack] [http://castlekeepcavaliers.com/generator/assets/files/page487.html consumer reports magazine] [http://brixhost.net/my/attachments/media/index.html map] [http://casv.ca/secondary/class/install/937.html hallie berry nude] [http://cavalierpedigrees.com/XOOPS/images/text103.htm knighthood]  &lt;br /&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.7 installation instructions.  Do not attempt to use them to install 1.5/1.6, 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, v7.4 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported starting with Freeside 1.7.3.  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 you might want to check your distribution for ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libnet/ libnet] (CPAN: &amp;quot;install Net::Cmd&amp;quot;)&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/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&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/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;) (Freeside v1.7.2: use MailTools v1.77, not later versions) (Freeside 1.7.3: use MailTools v2.00 or later)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use v5.423.  Versions from 5.424 and later should be okay, as well as versions from 5.420 and older. Status of 5.421 and 5.422 is unknown.)&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/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
&lt;br /&gt;
==== Modules of Indeterminate Popularity ====&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/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
&lt;br /&gt;
==== Less common modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema] (Freeside v1.7.2: use DBIx::DBSchema v0.32, not later versions) (Freeside 1.7.3: use current DBIx::DBSchema)&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt::PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&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/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&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;
&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Add the user and group `freeside' to your system.&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;
$ su postgres (pgsql on some distributions)&lt;br /&gt;
$ createuser -P freeside&lt;br /&gt;
Enter password for user &amp;quot;freeside&amp;quot;: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new user be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new user be allowed to create more new users? (y/n) n&lt;br /&gt;
CREATE USER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with Postgresql 8.3&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;
&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Set DATASOURCE to your DBI data source, for example, &amp;lt;code&amp;gt;DBI:Pg:dbname=freeside&amp;lt;/code&amp;gt; for PostgresSQL or &amp;lt;code&amp;gt;DBI:mysql:freeside&amp;lt;/code&amp;gt; for MySQL. 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;
* 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;
&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;
&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;
* Ensure Apache has mod_perl enabled and is set to run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&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;
* 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 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;
* 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;
* Either [[Freeside:1.7:Documentation:RT_Installation|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; file from your configuration directory (&amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''datasrc''&amp;lt;/code&amp;gt;).&lt;br /&gt;
&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.7:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>DronaCelac</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=4871</id>
		<title>Freeside:1.7:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=4871"/>
				<updated>2009-07-09T14:19:37Z</updated>
		
		<summary type="html">&lt;p&gt;DronaCelac: &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.7 installation instructions.  Do not attempt to use them to install 1.5/1.6, 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, v7.4 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported starting with Freeside 1.7.3.  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 you might want to check your distribution for ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libnet/ libnet] (CPAN: &amp;quot;install Net::Cmd&amp;quot;)&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/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&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/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;) (Freeside v1.7.2: use MailTools v1.77, not later versions) (Freeside 1.7.3: use MailTools v2.00 or later)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use v5.423.  Versions from 5.424 and later should be okay, as well as versions from 5.420 and older. Status of 5.421 and 5.422 is unknown.)&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/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
&lt;br /&gt;
==== Modules of Indeterminate Popularity ====&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/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
&lt;br /&gt;
==== Less common modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema] (Freeside v1.7.2: use DBIx::DBSchema v0.32, not later versions) (Freeside 1.7.3: use current DBIx::DBSchema)&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt::PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&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/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&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;
&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Add the user and group `freeside' to your system.&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;
$ su postgres (pgsql on some distributions)&lt;br /&gt;
$ createuser -P freeside&lt;br /&gt;
Enter password for user &amp;quot;freeside&amp;quot;: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new user be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new user be allowed to create more new users? (y/n) n&lt;br /&gt;
CREATE USER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with Postgresql 8.3&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;
&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Set DATASOURCE to your DBI data source, for example, &amp;lt;code&amp;gt;DBI:Pg:dbname=freeside&amp;lt;/code&amp;gt; for PostgresSQL or &amp;lt;code&amp;gt;DBI:mysql:freeside&amp;lt;/code&amp;gt; for MySQL. 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;
* 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;
&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;
&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;
* Ensure Apache has mod_perl enabled and is set to run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&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;
* 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 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;
* 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;
* Either [[Freeside:1.7:Documentation:RT_Installation|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; file from your configuration directory (&amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''datasrc''&amp;lt;/code&amp;gt;).&lt;br /&gt;
&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.7:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>DronaCelac</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=4870</id>
		<title>Freeside:1.7:Documentation:Installation</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.7:Documentation:Installation&amp;diff=4870"/>
				<updated>2009-07-09T14:19:11Z</updated>
		
		<summary type="html">&lt;p&gt;DronaCelac: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [http://chiero.com/cosittaorelt.html chicnadarr]&lt;br /&gt;
http://basdelge.com/sitlirodelca.html[chicnadarr] [[http://basdelge.com/sitlirodelca.html][chicnadarr]]&lt;br /&gt;
* http://taacelrelt.com/chitao.html chicnadarr&lt;br /&gt;
* [[http://c4tgetlir.com/vardeldomr.html chicnadarr]]&lt;br /&gt;
* [[http://acelcnar.com/cnabocmonorc.html|chicnadarr]]&lt;br /&gt;
* [[http://tarollaorpa.com/acelvioro.html | chicnadarr]]&lt;br /&gt;
* [http://domronoorc.com/zellatrrolor.html|chicnadarr]&lt;br /&gt;
* [chicnadarr|http://rodelc4.com/ricricriccna.html]&lt;br /&gt;
* ((http://ounoacel.com/getchic4.html chicnadarr))&lt;br /&gt;
* [chicnadarr](http://getolovar.com/sitdom.html &amp;quot;chicnadarr&amp;quot;)&lt;br /&gt;
&amp;quot;chicnadarr&amp;quot;:http://cnaert.com/eltgetca.html&lt;br /&gt;
 &lt;br /&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.7 installation instructions.  Do not attempt to use them to install 1.5/1.6, 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, v7.4 or later recommended). &lt;br /&gt;
** [http://www.mysql.com MySQL] (v4.1 or later, v5 recommended) is supported starting with Freeside 1.7.3.  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 you might want to check your distribution for ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/libnet/ libnet] (CPAN: &amp;quot;install Net::Cmd&amp;quot;)&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/HTML-Mason HTML::Mason]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-Template Text::Template]&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/MailTools MailTools] (CPAN: &amp;quot;install Mail::Internet&amp;quot;) (Freeside v1.7.2: use MailTools v1.77, not later versions) (Freeside 1.7.3: use MailTools v2.00 or later)&lt;br /&gt;
* [http://search.cpan.org/dist/MIME-tools MIME::Tools] (Note: do not use v5.423.  Versions from 5.424 and later should be okay, as well as versions from 5.420 and older. Status of 5.421 and 5.422 is unknown.)&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/Locale-Codes Locale-Codes] (CPAN: &amp;quot;install Locale::Country&amp;quot;)&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime DateTime]&lt;br /&gt;
&lt;br /&gt;
==== Modules of Indeterminate Popularity ====&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/NetAddr-IP NetAddr::IP]&lt;br /&gt;
* [http://search.cpan.org/dist/String-Approx String::Approx]&lt;br /&gt;
* [http://search.cpan.org/dist/Locale-SubCountry Locale::SubCountry]&lt;br /&gt;
* [http://search.cpan.org/dist/Frontier-RPC Frontier::RPC2]&lt;br /&gt;
* [http://search.cpan.org/dist/Term-ReadKey Term::ReadKey]&lt;br /&gt;
* [http://search.cpan.org/dist/DateManip Date::Manip]&lt;br /&gt;
* [http://search.cpan.org/dist/DateTime-Format-Strptime DateTime::Format::Strptime]&lt;br /&gt;
* [http://search.cpan.org/dist/Text-CSV_XS Text::CSV_XS]&lt;br /&gt;
* [http://search.cpan.org/dist/Spreadsheet-WriteExcel Spreadsheet::WriteExcel]&lt;br /&gt;
* [http://search.cpan.org/dist/Number-Format Number::Format]&lt;br /&gt;
&lt;br /&gt;
==== Less common modules ====&lt;br /&gt;
&lt;br /&gt;
* [http://search.cpan.org/dist/Business-CreditCard Business::CreditCard]&lt;br /&gt;
* [http://search.cpan.org/dist/Net-Whois-Raw Net::Whois::Raw]&lt;br /&gt;
* [http://search.cpan.org/dist/DBIx-DBSchema DBIx::DBSchema] (Freeside v1.7.2: use DBIx::DBSchema v0.32, not later versions) (Freeside 1.7.3: use current DBIx::DBSchema)&lt;br /&gt;
* [http://search.cpan.org/dist/Tie-IxHash Tie::IxHash]&lt;br /&gt;
* [http://search.cpan.org/dist/Crypt::PasswdMD5 Crypt::PasswdMD5]&lt;br /&gt;
* [http://search.cpan.org/dist/Time-Duration Time::Duration]&lt;br /&gt;
* [http://search.cpan.org/dist/File-CounterFile File::CounterFile]&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/Net-SSH Net::SSH]&lt;br /&gt;
* [http://search.cpan.org/dist/String-ShellQuote String::ShellQuote]&lt;br /&gt;
* [http://search.cpan.org/dist/JSON JSON]&lt;br /&gt;
* [http://search.cpan.org/dist/HTML-Widgets-SelectLayers HTML::Widgets::SelectLayers]&lt;br /&gt;
* [http://search.cpan.org/dist/Color-Scheme Color::Scheme]&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;
&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* Add the user and group `freeside' to your system.&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;
$ su postgres (pgsql on some distributions)&lt;br /&gt;
$ createuser -P freeside&lt;br /&gt;
Enter password for user &amp;quot;freeside&amp;quot;: &lt;br /&gt;
Enter it again: &lt;br /&gt;
Shall the new user be allowed to create databases? (y/n) y&lt;br /&gt;
Shall the new user be allowed to create more new users? (y/n) n&lt;br /&gt;
CREATE USER&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or with Postgresql 8.3&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;
&lt;br /&gt;
*Edit the top-level Makefile: &lt;br /&gt;
** Set DATASOURCE to your DBI data source, for example, &amp;lt;code&amp;gt;DBI:Pg:dbname=freeside&amp;lt;/code&amp;gt; for PostgresSQL or &amp;lt;code&amp;gt;DBI:mysql:freeside&amp;lt;/code&amp;gt; for MySQL. 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;
* 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;
&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;
&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;
* Ensure Apache has mod_perl enabled and is set to run as &amp;lt;code&amp;gt;User freeside&amp;lt;/code&amp;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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-docs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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;
* Run &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make install-apache&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Do not attempt to restart Apache (httpd) yet.''&lt;br /&gt;
&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;
* 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 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;
* 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;
* Either [[Freeside:1.7:Documentation:RT_Installation|install the integrated RT ticketing system]], or delete the &amp;lt;code&amp;gt;ticket_system&amp;lt;/code&amp;gt; file from your configuration directory (&amp;lt;code&amp;gt;/usr/local/etc/freeside/conf.''datasrc''&amp;lt;/code&amp;gt;).&lt;br /&gt;
&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.7:Documentation:Administration|administration]] of your installation.&lt;/div&gt;</summary>
		<author><name>DronaCelac</name></author>	</entry>

	</feed>