This is an old revision of the document!


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