Simple Logbook |
Exit |
Multiple installation on the same Web server |
[ Step 1: extract files ] [ Step 2: basic configuration ] [ Step 3: link start page ] [ Back ]
Step 1: extract files | [ Index ] |
From silogbook.0.4.0.base.zip and silogbook.0.4.0.en.zip, extract files into a sub-directory in your Web server document root directory.
Example: /var/www/slbone.
Extract files into another sub-directory in your Web server document root directory.
Example: /var/www/slbtwo.
Step 2: basic configuration | [ Index ] |
Change values of $SDRPATH variable on each mainconf.php file. New values should be paths which are not in the Web's pubblic space.
Example: change from $SDRPATH='..' to $SDRPATH='/var/slb1data' and from $SDRPATH='..' to $SDRPATH='/var/slb2data'.
Create docs sub-directory in both $SDRPATH.
Example: create /var/slb1data/docs and /var/slb2data/docs.
Create two databases using simple.sql and silogbook.sql file. The first time the user admin, password admin, with administration privilege is also created.
Open both setup.php pages using a Web browser. Run the following script: en/setup.php.
Example: open http://localhost/sdrone/en/setup.php and http://localhost/sdrtwo/en/setup.php.
From each setup.php page click on edit and change database access information.
Step 3: link start page | [ Index ] |
Create a link in your HTML pages to the following file for each SiDocRe installation: en/user.php.