ispCP - Board - Support
how to install mod_cband ?[solved] - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: how to install mod_cband ?[solved] (/thread-6962.html)

Pages: 1 2


how to install mod_cband ?[solved] - jetvster - 06-15-2009 08:37 AM

em,how to install mod_cband on debian lenny? ispcp version is ispcpomega 1.0.0,

another question,how to make the new user(domain) to been control by cband automatic?ispcp have any template to do this?Big GrinBig Grin

any idea?


RE: how to install mod_cband ? - Lucan - 06-15-2009 08:41 AM

As far as I know, mod_cband isn't available for lenny.


RE: how to install mod_cband ? - jetvster - 06-15-2009 10:54 AM

you are right ,no available deb package

install it from source to instead of deb package also work fine?

and how to config it suit for ispcp?


RE: how to install mod_cband ? - Lucan - 06-15-2009 08:49 PM

As far as I know, it doesn't work at all


http://www.isp-control.net/forum/thread-6512.html?highlight=cband


RE: how to install mod_cband ? - jetvster - 06-16-2009 03:01 AM

(06-15-2009 08:49 PM)Lucan Wrote:  As far as I know, it doesn't work at all
Sad
you are right,i got this report:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463789
mod_cband was reomve from lenny........

(06-15-2009 08:49 PM)Lucan Wrote:  http://www.isp-control.net/forum/thread-6512.html?highlight=cband
from this post ,libapache2-mod-bw will work fine with ispcp?
i will have a tryShyShy


RE: how to install mod_cband ? - jetvster - 06-17-2009 12:47 AM

ok
come again
install libapache2-mod-bw through apt-get
then which file is the ispcp's master config file?
purpose:when add a site to ispcp the rules will control it automatic


RE: how to install mod_cband ? - Lucan - 06-17-2009 01:34 AM

Quote:then which file is the ispcp's master config file?

Should be the one at /etc/ispcp


RE: how to install mod_cband ? - jetvster - 06-18-2009 12:19 AM

libapache2-mod-bw is work fine

but i found that will limit all the site's bandwidth instead of limit per user by rules

also have a good news to debian lenny

i got the way to make mod-cband work fine on ispcp(debian lenny)


follow this way would make cband work fine on lenny:
#cd ~/
#wget http://www.anheng.com.cn/debian/pool/main/m/mod-cband/libapache2-mod-cband_0.9.7.4-2_amd64.deb
//www.anheng.com.cn is a debian mirror(apt-get) server in china;
#dpkg -i libapache2-mod-cband_0.9.7.4-2_amd64.deb
#apt-get install debhelper autotools-dev apache2-threaded-dev

#tar zxvf mod-cband-0.9.7.5.tgz
#cd mod-cband-0.9.7.5
#./configure
#make
#cp src/.libs/mod_cband.so /usr/lib/apache2/modules/
#a2enmod cband

so you can add rules to ispcp.conf
Smile

ps:this version will be cband_0.9.7.4-2
but you can find it work fine
have a try?


RE: how to install mod_cband ? - BeNe - 06-18-2009 12:36 AM

Cool! Cool

Quote:but i found that will limit all the site's bandwidth instead of limit per user by rules
This is not that nice :-/

So you compile it your own way.
It is ok, but we need to wait for the new Debian Package "cband_0.9.7.4-2" if we want to use it in ispCP and other Distros.

Greez BeNe


RE: how to install mod_cband ?[solved] - jetvster - 06-18-2009 10:58 AM

the version will be cband_0.9.7.4-2 through aptitude manager

infact the bianary version is mod_cband 0.9.5

as long as i use ,it compatible with ispcp omega 1.0.0 (lenny)