[freeside-users] Debian 4.0 install from the wiki [signed]

Charles Chambers [c] cchamb2 at cisaz.com
Tue Jan 22 11:53:49 PST 2008


(I have the beginning part of the installation from the wiki completed.  I'm 
running Debian 4.0, base install (desktop system), with the single round of 
updates after installing Debian over the 'Net.  The additional packages as 
described in the wiki installed just fine.

I've been trying to finish the preparation (prior to unpacking and 
installing freeside), and there are three sections in the wiki that I'm not 
able to get just right.

==================================

1)  The wiki says:

Edit the top-level Makefile:

     * Set DATASOURCE to your DBI data source, for example, 
DBI:Pg:dbname=freeside for PostgresSQL
       or DBI:mysql:freeside for MySQL.  See the DBI manpage and the manpage 
for your DBD for the
       exact syntax of your DBI data source.

     * Set DB_PASSWORD to the freeside database user's password.

What is the top-level Makefile by name that I'm supposed to edit to include 
this line?

==================================

2)  at this point, I'm still su'd as freeside.

$ make perl-modules
$ su
# make install-perl-modules
$ su
# make create-config

I'm getting an error message that there are no rules to make the modules. 
I've tried this as root, as freesisde, and the system's [desktop] user.  No 
difference.
What order of su am I supposed to have donee to get to this point?  I notice 
that it has me execute at one level, exit that level, execute a second, 
exit, and then excute a third.

=================================

3)  The final section.  I'm assuming Apache should *not* be running, or that 
I'll need to restart it after I complete this step.  Each point is at the 
bottom.

    *  Ensure Apache has mod_perl enabled and is set to run as User 
freeside. 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.

    * Edit the Makefile and set FREESIDE_DOCUMENT_ROOT.

    * Run make install-docs

    * Edit the Makefile and set APACHE_VERSION 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).

    * Edit the Makefile and set APACHE_CONF 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
"Include /etc/apache/conf.d" to httpd.conf.)

    * Run make install-apache

1)  Ensure Apache has mod_perl enabled in the httpd.conf beeing used, and 
that Apache and that particular httpd.conf is set to run as user freeside, 
correct?
2)  Where is this Makefile?  The same as referred to in the first question? 
Just set the variable in place, or I should add a directory after it?
3)  make install-docs should be self-explanatory (dependent on correct 
editing of Makefile?).
4)  What Makefile?
5)  make install-apache should be self explanatory (dependent on correct 
editing of Makefile?).



=============================== 



--
--------------------- [ SECURITY NOTICE ] ---------------------
To: freeside-users at sisd.com.
For your security, cchamb2 at cisaz.com
digitally signed this message on 22 January 2008 at 19:52:31 UTC.
Verify this digital signature at http://www.ciphire.com/verify.
---------------- [ CIPHIRE DIGITAL SIGNATURE ] ----------------
Q2lwaGlyZSBTaWcuAjhmcmVlc2lkZS11c2Vyc0BzaXNkLmNvbQBjY2hhbWIyQGNp
c2F6LmNvbQBlbWFpbCBib2R5AJ4JAAB8AHwAAAABAAAAf0mWR54JAADJAgACAAIA
AgAgpyd3BJvssCcImgeyIswAp0jsngaA75c0IYPlCX8Cfd4BACCGhXgF0m1cfC1n
zcUJsYW6F/KgNEHaz877AQMqidkqO6RQgQVbeupD9TScEizFIi+knXNsRf39IY2s
kOITWsMDU2lnRW5k
------------------ [ END DIGITAL SIGNATURE ] ------------------



More information about the freeside-users mailing list