Installing and configuring Cband for Apache2 on Ubuntu

If you need to manage bandwidth usage on Apache web server (particularly on a per virtualhost basis) CBand could be that hero you were hoping for. Below are the steps I followed to get up and running with a basic CBand setup.
Installation
Install additional apache libraries. Only one of these two maybe required.
apt-get install apache2-prefork-dev
apt-get install apache2-threaded-dev
Download the module
wget http://dembol.org/downloads/cband/mod-cband-0.9.7.5.tgz
Untar the file
tar -xzf mod-cband-0.9.7.5.tgz
Enter newly created directory
cd mod-cband-0.9.7.5
Add -lm to the APXS OPTS in Makefile.in like so:
APXS_OPTS=-lm -Wc,-Wall -Wc,-DDST_CLASS=@DST_CLASS@
Configure and install
./configure
make
make install
Restart Apache
/etc/apache2/restart
Hopefully you should now have successfully installed Cband on your Ubuntu server.
Now let's configure it.
Configuration
In order to improve performance of Cband, add the following to /etc/apache2/mods-available/cband.conf
CBandScoreFlushPeriod 1
CBand…
Installation
Install additional apache libraries. Only one of these two maybe required.
apt-get install apache2-prefork-dev
apt-get install apache2-threaded-dev
Download the module
wget http://dembol.org/downloads/cband/mod-cband-0.9.7.5.tgz
Untar the file
tar -xzf mod-cband-0.9.7.5.tgz
Enter newly created directory
cd mod-cband-0.9.7.5
Add -lm to the APXS OPTS in Makefile.in like so:
APXS_OPTS=-lm -Wc,-Wall -Wc,-DDST_CLASS=@DST_CLASS@
Configure and install
./configure
make
make install
Restart Apache
/etc/apache2/restart
Hopefully you should now have successfully installed Cband on your Ubuntu server.
Now let's configure it.
Configuration
In order to improve performance of Cband, add the following to /etc/apache2/mods-available/cband.conf
CBandScoreFlushPeriod 1
CBand…