X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=749c4c77b807e7c47181000fefe70f1af47fbf2b;hp=c26c9a70157b95e58e1b4dde41d8ef1339c77557;hb=1340e8879e31d3fcbe09b73477f3aac3dbf65113;hpb=e6b57805f6b3e76448ab9b6d280f2c53bc1410f3 diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index c26c9a701..749c4c77b 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -11,8 +11,8 @@ Before installing, you need:
  • Perl Don't enable experimental features like threads or the PerlIO abstraction layer.
  • A transactional database engine supported by Perl's DBI.
  • Perl modules (CPAN will query, download and build perl modules automatically) Install the Freeside distribution: @@ -50,20 +55,42 @@ Install the Freeside distribution:
  • Add the user `freeside' to your system.
  • Allow the freeside user full access to the freeside database. -
  • Add the freeside database to your database engine. (with MySQL) (with PostgreSQL)
  • Unpack the tarball:
    gunzip -c fs-x.y.z.tar.gz | tar xvf -
    -
  • Build and install the Perl libraries: +
  • Edit the top-level Makefile: + +
  • Add the freeside database to your database engine: +
    +$ su
    +# make create-database
    + (or manually, with Postgres:) +
    +$ su freeside
    +$ createdb freeside
    + (with MySQL:) +
    +$ mysqladmin -u freeside -p create freeside 
    +
  • Build and install the Perl modules:
    -$ cd FS/
    -$ perl Makefile.PL
    -$ make
    +$ make perl-modules
     $ su
    -# make install UNINST=1
    +# make install-perl-modules +
  • Create the necessary configuration files:
    +$ su
    +# make create-config
    +
  • You should run a separate iteration of Apache[-SSL] with mod_perl enabled as the freeside user. @@ -87,11 +114,11 @@ PerlHandler Apache::ASP $MLDBM::RemoveTaint = 1; </Perl> PerlSetVar Global /usr/local/etc/freeside/asp-global/ +PerlSetVar Debug 2 </Directory>
      -
    • NOTE: Mason support is still a bit buggy in the 1.4.0 prereleases. This will be fixed before 1.4.0. You have been warned.
    • Run make masondocs
    • Copy masondocs/ to your web server's document space.
    • Copy htetc/handler.pl to your web server's configuration directory. @@ -112,13 +139,32 @@ require "/usr/local/apache/conf/handler.pl";