m |
|||
Line 27: | Line 27: | ||
####In the section marked "<IfModule alias_module>", modify the ScriptAlias value, based off wherever you extracted gpm-software.zip. Make the line read: <tt>ScriptAlias /thegpm-cgi/ "<base_path>/thegpm/thegpm-cgi/"</tt>, where '''<base_path>''' stands for the path in which you extracted gpm-software.zip. E.g., if you installed to ''''E:\''', write '''"E:/thegpm/thegpm-cgi/"'''; if you installed to '''"D:/websites/"''', write '''"D:/websites/thegpm/thegpm-cgi/"'''. | ####In the section marked "<IfModule alias_module>", modify the ScriptAlias value, based off wherever you extracted gpm-software.zip. Make the line read: <tt>ScriptAlias /thegpm-cgi/ "<base_path>/thegpm/thegpm-cgi/"</tt>, where '''<base_path>''' stands for the path in which you extracted gpm-software.zip. E.g., if you installed to ''''E:\''', write '''"E:/thegpm/thegpm-cgi/"'''; if you installed to '''"D:/websites/"''', write '''"D:/websites/thegpm/thegpm-cgi/"'''. | ||
###Save the changes and restart the Apache server. If it fails to start, use the command-line Apache tool: "<tt>apachectl configtest</tt>" in the '''/bin/''' folder of the Apache install directory. | ###Save the changes and restart the Apache server. If it fails to start, use the command-line Apache tool: "<tt>apachectl configtest</tt>" in the '''/bin/''' folder of the Apache install directory. | ||
- | ##Perl (called '''ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi''') | + | ##Perl (called '''ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi''') |
+ | ###choose a "typical" install using the recommended settings. | ||
+ | ###navigate to the Perl '''\bin\''' directory (by default, this is '''c:\perl\bin\'''). | ||
+ | ###run the command <tt>ppm</tt>. This will start the Perl Package Manager. | ||
+ | ###display all packages. | ||
+ | ###in the search box, type <tt>dbd-mysql</tt>. Choose the resulting package, and install it. | ||
##MySQL (called '''mysql-essential-5.1.48-win32.msi''') | ##MySQL (called '''mysql-essential-5.1.48-win32.msi''') | ||
###Choose a "Typical" install. | ###Choose a "Typical" install. | ||
Line 40: | Line 45: | ||
###Navigate to the default data directory specified in the <tt>datadir</tt> directory, and copy all contents of the default data folder (including all subfolders) to '''<base_path>/gpmdb/data/''', where '''<base_path>''' is where the gpm-software.zip archive was extracted. Update the <tt>datadir</tt> value in the my.ini file to read <tt>datadir="<base_path>/gpmdb/data/"</tt>, including the double quotes, where '''<base_path>''' is where the gpm-software.zip archive was extracted. | ###Navigate to the default data directory specified in the <tt>datadir</tt> directory, and copy all contents of the default data folder (including all subfolders) to '''<base_path>/gpmdb/data/''', where '''<base_path>''' is where the gpm-software.zip archive was extracted. Update the <tt>datadir</tt> value in the my.ini file to read <tt>datadir="<base_path>/gpmdb/data/"</tt>, including the double quotes, where '''<base_path>''' is where the gpm-software.zip archive was extracted. | ||
###Save the file and restart the MySQL service. | ###Save the file and restart the MySQL service. | ||
- | #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 < | + | #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 <base_path>/thegpm/</tt> where <base_path> is the path to where the gpm-software.zip archive was extracted. 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. |