This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
iplserver:iplconfig [2010/10/27 13:33] – Bernard Condrau | iplserver:iplconfig [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Initial configuration ===== | ||
- | ==== add users ==== | ||
- | |||
- | adduser < | ||
- | vim /etc/group | ||
- | |||
- | If necessary, add permissions to the respective user | ||
- | visudo | ||
- | |||
- | ==== change hostname ==== | ||
- | |||
- | hostname < | ||
- | |||
- | ==== 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 |