Introduction

This is the kind of software I really like. It installs quickly and is very practical.

Installation

  aptitude install bindgraph
  

Configuration

Lighttpd

Create a configuration file for bindgraph in the /etc/lighttpd/conf-available/ directory:

  # Alias for phpMyAdmin directory
alias.url += (
    "/bindgraph" => "/usr/lib/cgi-bin/bindgraph.cgi",
)

$HTTP["url"] =~ "^/bindgraph*", {

}
  

Now, create the necessary symlink:

  cd /etc/lighttpd/conf-enabled
ln -s /etc/lighttpd/conf-available/50-bindgraph.conf .
  

All that’s left is to restart the web server and it’s accessible via:

http://myserver/bindgraph

FAQ

I have a blank page, why?

In the Lighttpd error logs (/var/log/lighttpd/error.log), you might see something like this:

  "-T" is on the #! line, it must also be used on the command line at /usr/lib/cgi-bin/bindgraph.cgi line 1.
  

Edit the file /usr/lib/cgi-bin/bindgraph.cgi and remove the letter ‘T’ from the first line so it looks like:

  #!/usr/bin/perl -w
  

That’s it :-)

Last updated 02 Feb 2010, 21:16 +0200. history