Current time: 11-16-2024, 09:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
how to install mod_cband ?[solved]
Author Message
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #1
Question how to install mod_cband ?[solved]
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?
(This post was last modified: 06-18-2009 10:52 AM by jetvster.)
06-15-2009 08:37 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #2
RE: how to install mod_cband ?
As far as I know, mod_cband isn't available for lenny.
06-15-2009 08:41 AM
Find all posts by this user Quote this message in a reply
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #3
RE: how to install mod_cband ?
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?
(This post was last modified: 06-15-2009 10:58 AM by jetvster.)
06-15-2009 10:54 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #4
RE: how to install mod_cband ?
As far as I know, it doesn't work at all


http://www.isp-control.net/forum/thread-...ight=cband
06-15-2009 08:49 PM
Find all posts by this user Quote this message in a reply
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #5
RE: how to install mod_cband ?
(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-...ight=cband
from this post ,libapache2-mod-bw will work fine with ispcp?
i will have a tryShyShy
06-16-2009 03:01 AM
Find all posts by this user Quote this message in a reply
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #6
RE: how to install mod_cband ?
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
(This post was last modified: 06-17-2009 12:47 AM by jetvster.)
06-17-2009 12:47 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #7
RE: how to install mod_cband ?
Quote:then which file is the ispcp's master config file?

Should be the one at /etc/ispcp
06-17-2009 01:34 AM
Find all posts by this user Quote this message in a reply
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #8
RE: how to install mod_cband ?
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/mai..._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?
06-18-2009 12:19 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: how to install mod_cband ?
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
06-18-2009 12:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jetvster Offline
Junior Member
*

Posts: 19
Joined: Jun 2009
Reputation: 0
Post: #10
RE: how to install mod_cband ?[solved]
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)
(This post was last modified: 06-18-2009 11:01 AM by jetvster.)
06-18-2009 10:58 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)