Steps to install LILDBI-Web 1.7 under Linux: ------------------------------------------------------------------ PRE-REQUISITES: A. Hardware and software 1. Have a web server installed (*); 2. Have PHP (**) installed and configured; (*) Apache 1.3.x recommended ou 2.x (tested until 2.2.2) (**) PHP 4.4.xx recommended, it does not work with PHP 5.x Doubts can be solved in the address below, clicking in Prerequisite Software link - http://bvsmodelo.bvsalud.org/ Reference: - PHP: http://www.php.net/ - Apache: http://www.apache.org/ Download Recomended Versions: - PHP 4.4.0 http://museum.php.net/win32/ - Apache http://archive.apache.org/dist/httpd/binaries/win32/ INSTALLATION: I - Lildbi-web default Install II - Lildbi-web VirtualHost Install III - Manual installation in case of problems about permission access or PHP configuration -------------------------------------- I - Lildbi-web default Install Installation recommended for users without experience with installation and configuration of Apache and PHP STEPS: 1. Unpack LILDBIWEB-linux-1.7_full.tgz file in a auxiliary directory (eg: /tmp). The following structure of directories will be created: ex: tar xvzpf LILDBIWEB-linux-1.7_full.tgz bvs-+ |- htdocs |- cgi-bin |- bases We will assume as example that the Apache server web is installed in the folder /usr/local/apache. In this directory you will create a folder with the name of bases, usr/local/apache/bases. After that, go to the directory where LILDBI-WEB was unpacked, in this example we use the folder /tmp. Copy all folders and files from /tmp/bvs/htdocs/ to /usr/local/apache/htdocs/ repeat the process with the folder /tmp/bvs/cgi-bin/ coping to the folder /usr/local/apache/cgi-bin/ repeat the process with the folder /tmp/bvs/bases/ coping to the folder /usr/local/apache/bases/ 2.Access the setup page of the system in browser, adding /lildbi/install/setup.php the URL and follows the steps to configure the system in your server. eg: http://localhost/lildbi/install/setup.php 3. Access LILDBI-Web administration site by adding "/lildbi/index.htm" and select "Database administration". eg: http://localhost/lildbi/index.htm 4. Access LILDBI-Web site by adding "/lildbi/index.htm" and select "Search" eg: http://localhost/lildbi/index.htm II - Lildbi-web VirtualHost Install You can configure the virtual host in your Web server in accordance with the structure of directories that you want, we will use as example the structure of directories of BIREME products. STEPS: 1. Unpack LILDBIWEB-linux-1.7.tgz file in a temporary directory (eg: /tmp). The following structure of directories will be created: bvs-+ |- htdocs |- cgi-bin |- bases Open Apache web server configuration file, httpd.conf Follow this VirtualHost information to configure your Apache web server Example of Apache VirtualHost DocumentRoot "/bvs/htdocs" Options Indexes FollowSymLinks MultiViews ServerName localhost DirectoryIndex index.htm index.php homepage.htm ScriptAlias /cgi-bin/ "/bvs/cgi-bin/" AllowOverride None Options FollowSymLinks Order allow,deny Allow from all AllowOverride None Options All Order deny,allow Allow from all 2.Access the setup page of the system in browser, adding /lildbi/install/setup.php to the URL and follow the steps to configure the system in your server. eg: http://localhost/lildbi/install/setup.php 3. Access LILDBI-Web administration site by adding "/lildbi/index.htm" and select "Database administration". eg: http://localhost/lildbi/index.htm 4. Access LILDBI-Web site by adding "/lildbi/index.htm" and select "Search" eg: http://localhost/lildbi/index.htm III - Manual installation in case of problems about permission access or PHP configuration After Unpacked and copied to installation directory as mentioned before you must edit the files listed below: /htdocs/lildbi/lildbi.def /htdocs/lildbi/iah/iah.def /htdocs/lildbi/iah/edit/iah.def /htdocs/lildbi/decs/decserver.def /htdocs/lildbi/docsonline/pft/cipar.pft To replace the path default for the path installation See the example below: if the LILDBI-WEB Application is located in /home/bireme folder, you have to replace the files listed above by paths of the current installation: /bvs-site/ por /home/bireme/ [PATH] PATH_DATA=/lildbi/ PATH_CGI-BIN=/bvs-site/cgi-bin/lildbi/ PATH_DATABASE=/bvs-site/bases/lildbi/ [PATH] - installed PATH_DATA=/lildbi/ PATH_CGI-BIN=/home/bireme/cgi-bin/lildbi/ PATH_DATABASE=/home/bireme/bases/lildbi/ When in doubt or when having problems with installation, please send a mail to: bvs.technical.support@listas.bireme.br