کد:
# cd /usr/src/
# wget http://downloads.sourceforge.net/project/bandwidthd/bandwidthd/bandwidthd%202.0.1/bandwidthd-2.0.1.tgz
# tar -zxvf bandwidthd-2.0.1.tgz
# cd /usr/src/bandwidthd-2.0.1
# ./configure
# make install
# nano /usr/local/bandwidthd/etc/bandwidthd.conf
subnet 188.34.103.0/24
ev "eth0"
output_cdf true
recover_cdf true
#### Debian && Ubuntu
# ln -s /usr/local/bandwidthd/htdocs /var/www/bandwidthd
#### Fedora Core && Redhat && CentOS
# ln -s /usr/local/bandwidthd/htdocs /var/www/html/bandwidthd
#### Debian && Ubuntu
# nano /etc/rc.local
/usr/local/bandwidthd/bandwidthd
#### Fedora Core && Redhat && CentOS
# nano /etc/rc.d/rc.local
/usr/local/bandwidthd/bandwidthd
Bandwidthd
موضوعات مشابه: