This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| iplserver:iplconfig [2010/10/28 15:38] – Bernard Condrau | iplserver:iplconfig [2026/10/01 21:46] (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 | ||
| - | |||
| - | Check daily, weekly or monthly bandwidth usage with vnstat -d, vnstat -w or vnstat -m, e.g. | ||
| - | vnstat -m | ||