Language: Perl interpreter program, Perl 5.8 or above.
HTTP Server: Apache HTTP server.
Perl package: The following Perl packages are needed:
FileHandle
IPC::Open3
Carp
CGI
Socket
GD::Graph::bars
GD::Graph::colour
GD::Text
POSIX
Email::Valid
Thread
cpanm to install or:
yum install perl-CGI-Session yum install perl-GD yum install perl-GD-Graph yum -y install perl-CPAN perl -MCPAN -e 'install GD::Graph'
Here are the installation instructions for Linux system.
-
Git Clone
-
Copy the "batchprimer3_cgi" directory to your Apache server "cgi-bin" directory, change the folder name to "batchprimer3". chmod 777 *
-
Copy the "batchprimer3_htdocs" directory to your Apache server "htdocs" directory and rename the directory to "batchprimer3". chmod 777 *
-
In the /cgi-bin/batchprimer3/ directory, you need to correctly set the parameters in two programs, batchprimer3.cgi and batchprimer3_report.cgi. Please carefully check the header part in these two files.
-
Replace:
<Directory>
AllowOverride none
Require all denied
</Directory>
to:
<Directory "/www/server/htdocs/cgi-bin/">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory> -
Uncomment "#AddHandler cgi-script .cgi"