Initial configuration

add users

adduser <username>
vim /etc/group

If necessary, add permissions to the respective user

visudo

change hostname

hostname <newname>

install bandwith monitor

yum -y install vnstat

Run the following command to establish the database:

vnstat -u -i eth0

Then enter the same command into the crontab to be executed every hour:

crontab -e
0 * * * * root vnstat -u -i eth0

Check daily, weekly or monthly bandwidth usage with vnstat -d, vnstat -w or vnstat -m, e.g.

vnstat -m

A web frontend can be found at http://www.sqweek.com/sqweek/index.php?p=1