[已解决][问题]ubuntu带宽流量限制安装问题

漏洞扫描、网关、防火墙、补丁升级、数据备份和迁移、系统故障排除
回复
godbird
帖子: 9
注册时间: 2008-02-23 9:46
送出感谢: 0
接收感谢: 0

[已解决][问题]ubuntu带宽流量限制安装问题

#1

帖子 godbird » 2008-06-17 22:04

代码: 全选

wget cband.linux.pl/download/mod-cband-0.9.7.4.tgz
tar xzvf mod-cband-0.9.7.4.tgz
cd mod-cband-0.9.7.4
./configure
make
make install
最后的make install

代码: 全选

apxs2 -Wc,-Wall -Wc,-DDST_CLASS=3 -i -a -n cband src/mod_cband.la
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' src/mod_cband.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install cp src/mod_cband.la /usr/lib/apache2/modules/
cp src/.libs/mod_cband.so /usr/lib/apache2/modules/mod_cband.so
cp src/.libs/mod_cband.lai /usr/lib/apache2/modules/mod_cband.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/apache2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 644 /usr/lib/apache2/modules/mod_cband.so
apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install] Error 1
我看了下,/etc/apache2/httpd.conf 是个空文件,服务器设置上面看到使用的文件是/etc/apache2/apache2.conf 。这个问题怎么解决呢?
上次由 godbird 在 2008-07-10 15:35,总共编辑 1 次。
magiciany
帖子: 393
注册时间: 2007-04-25 11:49
送出感谢: 0
接收感谢: 0

#2

帖子 magiciany » 2008-07-01 1:38

ln -s个?
jerro
帖子: 279
注册时间: 2007-03-31 12:56
送出感谢: 0
接收感谢: 0

#3

帖子 jerro » 2008-07-01 6:31

是个什么软件啊?详细说明一下,好吗?
godbird
帖子: 9
注册时间: 2008-02-23 9:46
送出感谢: 0
接收感谢: 0

#4

帖子 godbird » 2008-07-10 15:34

解决了,方法见
ubuntu server 流量控制
http://www.xysq.net/bbs/viewthread.php? ... &fromuid=0
回复

回到 “服务器维护和硬件相关”