X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Finstall.html;h=2a208c016c526ce46a48e286ef463d7e4525b2a5;hb=e963a04493d15ac3e714a2cb95a28fe90a6239d9;hp=1529c648e6cfc8e30f373da41286e77b460abab4;hpb=34e22e18b050b9a507433d24eb7a896ce2182afd;p=freeside.git diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 1529c648e..2a208c016 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -7,9 +7,13 @@ Before installing, you need: Install the Freeside distribution: @@ -46,20 +54,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. @@ -71,7 +101,10 @@ $ su
  • Run make aspdocs
  • Copy aspdocs/ to your web server's document space.
  • Create a Global directory, such as /usr/local/etc/freeside/asp-global/ -
  • Copy htetc/global.asa to the Global directory. +
  • Copy htetc/global.asa to the Global directory: +
    +cp htetc/global.asa /usr/local/etc/freeside/asp-global/global.asa
    +
  • Configure Apache for the Global directory and to execute .cgi files using Apache::ASP. For example:
     <Directory /usr/local/apache/htdocs/freeside-asp>
    @@ -83,6 +116,7 @@ PerlHandler Apache::ASP
     $MLDBM::RemoveTaint = 1;
     </Perl>
     PerlSetVar Global /usr/local/etc/freeside/asp-global/
    +PerlSetVar Debug 2
     </Directory>
     
    @@ -107,11 +141,32 @@ require "/usr/local/apache/conf/handler.pl";