File: //usr/local/ssl/share/doc/bandmin-1.6.1/INSTALL
****************************************
Bandmin (c)1998-1999 J. Nick Koston
- A simple Bandwidth Monitor
****************************************
If you are using ipfw, please read README.IPFW before you continue
!!! If your are upgrading to 0.8x from a pre 0.8x series you must type
make update
before you make install or will lose all your bandwidth data. !!!
-----
Generic Install (no custom config)
-----
make bandmin
-----
Basic Install
-----
./configure
make
make config
make install
make cron (see below first)
-----
Startup
-----
To start collecting accounting data you must run this script.
I suggest you put it in your rc.local after ifconfig.
/usr/local/bandmin/bandminstart
-----
Apache Stuff
-----
If you are running apache, adding this to your config files
will be helpful.
Alias /bandwidth/ /usr/local/bandmin/htdocs/
Note: you might want to password protect access to the bandmin html
pages with a .htaccess file or something of the like.
-----
Crontab Stuff
-----
you can run 'make cron' or add this manually
50,20 * * * * /usr/local/bandmin/bandmin
15 * * * * /usr/local/bandmin/bandminhtml
0 0 * * * /usr/local/bandmin/ipaddrmap
-----
-----
Security Note
-----
If you are using the UserIPAcct kernel patch, you will probably want to
do some kind of .htaccess file or the like so a cracker can't see what
usernames are on your system.