210 likes | 305 Vues
Detailed steps for setting up web servers on Windows and Linux, configuring PHP, and installing VHL applications like HIL and Direve. Includes directory structures and adjustment instructions for different products.
E N D
Operating System: Windows, Linux; • Web server installed; • Apache 1.3x, (All Products); • Apache 2 (only for BVS-Site, iAH); • IIS 5.0 (tested to all products); • PHP Installed (tested until 4.4.0 version); • PHP set to work with the eXpat and Sablotron (for more information see the “Installation manual of pre-required software to VHL applications” available at the VHL Model site); • Web server configured with PHP; • WWWIsis Licence (HIL and Direve).
Install process 1 – Copy folders and files to virtual host location 2 – Run installation scripts (setup) or manually change path and domain name (servername) in definition files (.def)
Standard structure packet * * Except VHL-Site
Virtual Host example http://domain-name/ <VirtualHost *> ... DocumentRoot "/web/example/htdocs/" ServerName domain-name ScriptAlias /cgi-bin/ "/web/example/cgi-bin/" ... </VirtualHost> DocumentRoot ScriptAlias
1 – Copy folders and files to virtual host location To start installing, unpack (or unzip) the application to a temporary location and then copy folders and files to the corresponding location as defined by the Virtual Host definition
Sample installationVHL-site directly to DocumentRoot VHL-Site packet Virtual Host Copy files and folders VHL-Site access http://domain-name/
Sample installHSL-WEB subdirectories below each folder HSL-web packet Virtual Host Copy files and folders HSL-WEB Site http://domain-name/lildbi/
The process of copying files and folders is the same to all other products (IAH, DIREVE, HIL)
2 2ª. RUN INSTALLATION SCRIPTS2b. ADJUST PATH AND SERVERNAME IN THE DEFINITION FILES
HILInstallation http://localhost:90/lis/start-up.php
HSL-WEBInstallation http://localhost:90/lildbi/install/setup.php
2b ADJUST PATH AND SERVERNAME IN THE DEFINITION FILESVHL-Site, Direve, HSL-WEB, IAH
InstallationVHL-SITE File Location htdocs/bvs-site-conf.php DIRECTORY=/ SITE_PATH=/bvs/www/htdocs/ DATABASE_PATH=/bvs/www/bases/site/ SERVERNAME=localhost:90 Adjust local paths and servername according tolocal installation
InstallationDIREVE Adjust 2 Files Location htdocs/direve/direve.def htdocs/direve/admDireve/diradm.def Diradm.def Direve.def [DATABASE CDS] cipar='DIREVE.*=/bvs/www/bases/direve/ admDireve/direve.*'/, 'gizmoXML.*=/bvs/www/bases/direve/admDireve/ gizmoXML.*'/ [ENVIRONMENT] DOCUMENT_ROOT=/bvs/www/htdocs/ PATH_DATA=/direve/ PATH_DATABASE=/bvs/www/bases/direve/ SERVERNAME=localhost:90 Adjust local paths and servername according tolocal installation
InstallationIAH Adjust File Location htdocs/iah/iah.def iah.def [PATH] PATH_DATA=/iah/ PATH_CGI-BIN=/bvs/www/cgi-bin/iah/ PATH_DATABASE=/bvs/www/bases/iah/ Adjust local paths according to local installation
InstallationHSL-WEB Adjust File Location /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 [PATH] PATH_DATA=/lildbi/ PATH_CGI-BIN=/bvs-site/cgi-bin/lildbi/ PATH_DATABASE=/bvs-site/bases/lildbi/ Adjust local paths according to local installation
For more information,please access: • http://bvsmodelo.bvsalud.org/php/index.php?lang=en