install bandwidthd ubuntu

Installing bandwidthd for Network Monitoring in Ubuntu Server

1. Install bandwidthd :   #apt-get install bandwidthd
2. follow prompts, main config file is /etc/bandwidthd/bandwidthd.conf.  You can  copy the conf file from /usr/share/doc/bandwidthd/bandwidthd.conf to /etc/bandwidthd/bandwidthd.conf
3. Install apache2    #apt-get install apache2
4. Change directory  to /var/www and create a soft link to the htdocs directory that bandwidthd uses (check /etc/bandwidthd/bandwidthd.conf for default bandwidthd path ).The softlink of bandwidthd is  created using this command
# ln -s /var/lib/bandwidthd/htdocs bandwidthd

5. restart apache /etc/init.d/apache2 restart (and bandwidthd if needed /etc/init.d/bandwidthd restart)
6. To access bandwidthd
http://<IP of the PC>


Leave a Reply

Your email address will not be published. Required fields are marked *