How do I install the graphing version of Yaalr?

To get Yaalr with graphing powers use this command from the command line (you will have to have the subversion client installed):

svn co http://yaalr.svn.sourceforge.net/svnroot/yaalr/yaalr_web yaalr_web

This will check out the latest version of yaalr_web which has the power to create a html graph. You will need some other perl modules as well which you can get from CPAN. The other modules you need are the Template Toolkit and GD::Graph. To install modules from CPAN you can use these commands:

perl -MCPAN -e 'install Template'
perl -MCPAN -e 'install GD::Graph'

More information on installing perl modules from CPAN available here.

Now we have to configure the cgi script so that it can output our graph and read our log files. The first thing to do is to edit the source code of the cgi script called yaalr.web.cgi. In that file, go to line 19 where it says ## <= CHANGE! In front of that change comment is a line that should look like this: my $file = "/var/www/cgi-bin/yaalr/yaalr_web/common.log"; Change the location of that common.log file to the location of your common log file. For example, on my Mac, that file is located here: /var/log/httpd/access_log. Find out where it is on your server and replace that location in line 19.

Programming Republic of Perl Logo Open Source Certified Logo SourceForge.net Logo