安装cband控制apache流量

2tar xzvf mod-cband-0.9.7.4.tgz
3cd mod-cband-0.9.7.4
4./configure
5make
6make install

configure之前,可能提示没有apx2。需要先yum install httpd-devel。此时确保Testing.repo关闭。

The make install command should have added the mod_cband module to /etc/apache2/httpd.conf. Run

1vi /etc/apache2/httpd.conf

and check if you find a line like this:

1LoadModule cband_module       /usr/lib/apache2/modules/mod_cband.so

(If you don’t find this line, add it yourself.)