(New page: #Key ##Text written in <tt>fixed-space font</tt> denote text you will type in, as written. ##Text written in '''bold''' are directory paths. #Prerequisites ##A fully patched 32-bit version...) |
|||
Line 15: | Line 15: | ||
#Install Apache, Perl and MySQL, following the directions provided in the installation process. | #Install Apache, Perl and MySQL, following the directions provided in the installation process. | ||
##Apache | ##Apache | ||
- | ###"Network domain" value should be the same as the end of | + | ###"Network domain" value should be the same as the end of the target computer's DNS name; e.g., if the target computer has a DNS entry of "science14.med.university.edu", enter "med.university.edu". If you need assistance with this step, contact your local support. |
- | ###"Server name" value should | + | ###"Server name" value should match the full DNS name of the target computer. E.g., if the computer onto which the local version of the GPM is being installed has a DNS name of "web3.university.edu", enter "web3.university.edu". If you need assistance with this step, contact your local support. |
###"Administrator's email address" is the email displayed if the web server encounters problems displaying pages. | ###"Administrator's email address" is the email displayed if the web server encounters problems displaying pages. | ||
###Choose between having Apache run as a service (will be available whenever the computer is on; recommended), or being manually started and stopped. | ###Choose between having Apache run as a service (will be available whenever the computer is on; recommended), or being manually started and stopped. | ||
Line 32: | Line 32: | ||
###Go to the installation directory of MySQL (by default, this is found in the "Program Files" directory). Make a backup copy of the my.ini file. Edit the original and change the "datadir" value to read <tt>datadir="<base_path>/gpmdb/data/"</tt>, including the double quotes. | ###Go to the installation directory of MySQL (by default, this is found in the "Program Files" directory). Make a backup copy of the my.ini file. Edit the original and change the "datadir" value to read <tt>datadir="<base_path>/gpmdb/data/"</tt>, including the double quotes. | ||
###Restart the MySQL server service. | ###Restart the MySQL server service. | ||
- | #Start a command-line window, and navigate to '''\thegpm\scripts\''' directory. Run the script | + | #Run the script to edit the path information for all the Perl scripts used. Start a command-line window, and navigate to '''\thegpm\scripts\''' directory. Run the script '''local_gpm_pathmod.pl''' by typing <tt>perl local_gpm_pathmod.pl <perl_path></tt> where <perl_path> is the path to the Perl executable (by default, this is: '''c:/perl/bin/perl.exe'''). Ensure you use front slashes (/) instead of back slashes (\) when typing the path. This will edit scripts in both '''\thegpm\scripts\''' and '''\thegpm\thegpm-cgi\'''. |
#In the '''\thegpm\thegpm-cgi\''' directory, edit the hurricane.cfg file. | #In the '''\thegpm\thegpm-cgi\''' directory, edit the hurricane.cfg file. | ||
##This needs details. | ##This needs details. | ||
+ | #Edit the '''\thegpm\thegpm-cgi\dbcommon.pl''' file. Define usernames and passwords for both the read-only database user and root-like user. NOTE: is is NOT recommended to use the root username and password you defined during MySQL setup in the '''dbcommon.pl''' file. | ||
+ | #Edit the '''\thegpm\thegpm-cgi\defines.pl''' file. | ||
#Log inty MySQL as the root user you defined during its installation. Then, type: <tt>source <base_path>/thegpm/scripts/create_gpmdb.sql;</tt>. This will create the gpmdb database and table structure that will be populated after data files are submitted to the identification software. | #Log inty MySQL as the root user you defined during its installation. Then, type: <tt>source <base_path>/thegpm/scripts/create_gpmdb.sql;</tt>. This will create the gpmdb database and table structure that will be populated after data files are submitted to the identification software. | ||
+ | #Schedule the execution of the '''\thegpm\scripts\popGPMDB.pl''' script, which parses the XML files created by the search software and adds them to the database. |