You are on page 1of 2

BANDWIDTHD INSTALLATION:

1. Download the package bandwidthd-2.0.1.tgz 2. Extract the tar file by tar xvf bandwidthd-2.0.1.tgz Prerequisites: a.yum install libpng libcap libgd* 3. Get into the directory cd bandwidthd-2.0.1 4. Run the configuration file by ./configure 5. Give make and make install command 6. Go this file vi /usr/local/bandwidthd/etc/bandwidthd.conf Inside this put the subnet mask entry 10.0.0.0/255.0.0.0 or 10.0.0.0/8 7. Get into the apache configuration file i. Vi /etc/httpd/conf/httpd.conf ii. inside file put entry like this <VirtualHost 61.14.185.68:44301> (61.14.185.68=webserver ip) ServerAdmin webmaster@dummy-host.example.com DocumentRoot /usr/local/bandwidthd/htdocs ServerName bandwidthd ErrorLog logs/error_log CustomLog logs/access_log common <Directory /usr/local/bandwidthd/htdocs> Options FollowSymLinks AllowOverride None </Directory> </VirtualHost> 8. Service httpd reload 9. Service bandwidthd restart

Trouble shooting : 1.while run the configuration file ./configure, if you get error like configure: error: Bandwidthd requires but cannot find libpcap Just install the package yum install libpcap-devel and then again run the configuration file (./configure).

2.after start the bandwidthd service, check the service status by service bandwidthd status.

If you get error like bandwidthd dead but subsys locked , then get into this directory called Cd /usr/local/bandwidthd/ and bandwidthd service file will be there so run that service file manually by ./bandwidthd

You might also like