Blog Archive

Wednesday, July 27, 2011

Monitoring Server Traffic

Installing bandwidthd for Network Monitoring in Debian Server
  1.     apt-get install bandwidthd
  2.      follow prompts, main config file is /etc/bandwidthd/bandwidthd.con You can  copy the conf file from /usr/share/doc/bandwidthd/bandwidthd.conf to /etc/bandwidthd/bandwidthd.conf
  3.     apt-get install apache2
  4.     cd to /var/www and create a soft link to the htdocs directory that bandwidthd uses (see /etc/bandwidthd/bandwidthd.conf)
  5.     ln -s /var/lib/bandwidthd/htdocs bandwidthd
  6.     where bandwidthd in the name of the link
  7.     restart apache /etc/init.d/apache2 restart (and bandwidthd if needed /etc/init.d/bandwidthd restart)
  8.     access bandwidthd
  9.     http://<localhost or IP>/bandwidthd
References
http://www.debianadmin.com/network-traffic-analyzer-for-your-ubuntu-system.html
http://infodotnet.blogspot.com/2008/02/install-and-configure-bandwidthd-per-ip.html

0 comments:

Post a Comment

Followers