نمایش نتایج: از شماره 1 تا 6 از مجموع 6

موضوع: مشکل در نصب bandwidthd

  
  1. #1


    عضو عادی شناسه تصویری sooshiant
    تاریخ عضویت
    Aug 2005
    نوشته
    538
    سپاسگزاری شده
    7
    سپاسگزاری کرده
    44

    مشکل در نصب bandwidthd

    با سلام
    من واسه نصب bandwidthd چند مشکل دارم.اول اینکه وقتی configure/. رو می زنم این پیغام رو می ده.
    کد:
    master@localhost bandwidthd-2.0.1]$ su
    Password: 
    [root@localhost bandwidthd-2.0.1]# ./configure 
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for bison... no
    checking for byacc... no
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for executable suffix... 
    checking for object suffix... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking for flex... flex
    checking for yywrap in -lfl... yes
    checking lex output file root... lex.yy
    checking whether yytext is a pointer... yes
    checking how to run the C preprocessor... gcc -E
    checking for X... no
    checking for /sw/lib... no
    checking for /sw/include... no
    checking for /usr/pkg/lib... no
    checking for /usr/pkg/include... no
    checking for connect in -lsocket... no
    checking for gethostbyname in -lnsl... yes
    checking for inet_aton in -lresolv... yes
    checking for pow in -lm... yes
    checking for libiconv_open in -liconv... no
    checking for png_read_info in -lpng... no
    configure: error: Bandwidthd requires but cannot libpng
    وقتی make install رو می زنم این پیغام رو میده
    کد:
    ake: *** No rule to make target `install'.  Stop.
    کد:
    
    
    و بعد از این با دستور rpm -ivh بسته ی binary رو که از اینترنت گرفته بودم نصب کردم و ظاهرا نصب هم شد اما الان نمی دونم چطوری باید از استفاده کنم.
    لینک rpm Package




    موضوعات مشابه:
    ویرایش توسط sooshiant : 2011-07-03 در ساعت 10:17 AM

  2. #2
    نام حقيقي: Ali

    عضو ویژه شناسه تصویری al1p0ur
    تاریخ عضویت
    Feb 2010
    محل سکونت
    Tehran
    نوشته
    2,097
    سپاسگزاری شده
    2423
    سپاسگزاری کرده
    730
    این package ها رو باید قبلش نصب کنید :
    libcap, libpng, libgd , apache

    بعد از اینکه اینارو نصب کردی با دستور زیر خود برنامه رو نصب کن
    yum install bandwithd



    .




  3. #3


    عضو عادی شناسه تصویری sooshiant
    تاریخ عضویت
    Aug 2005
    نوشته
    538
    سپاسگزاری شده
    7
    سپاسگزاری کرده
    44
    من پیشنیاز ها رو نصب کردم اما وقتی می زنم yum install bandwithd این پیغام رو می ده.
    کد:
    [root@localhost bandwidthd-2.0.1]# yum install bandwidthd
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: ftp.halifax.rwth-aachen.de
     * extras: ftp.halifax.rwth-aachen.de
     * updates: ftp.halifax.rwth-aachen.de
    Setting up Install Process
    Nothing to do
    و همین پیغام رو در مورد libgd هم دارم.فکر کنم repository مربوط بهش رو ندارم اگه ممکنه آدرس مخزن ها و روش اضافه کردن اونها رو هم بفرمایید.



  4. #4
    نام حقيقي: Ali

    عضو ویژه شناسه تصویری al1p0ur
    تاریخ عضویت
    Feb 2010
    محل سکونت
    Tehran
    نوشته
    2,097
    سپاسگزاری شده
    2423
    سپاسگزاری کرده
    730
    من هم مشکل شما رو داشتم :
    اما با کمک این لینک ها مشکلم حل شد
    ابزار مانیتورینگ پهنای باند Bandwidthd





    Install And Cofigure Bandwidthd
    It is important to know traffic usage of your client if you're a Linux network administrator. You can monitor your client in text mode, graphic mode or html exported like mrtg, cacti or bandwidthd and one of my favorite bandwidth monitor is bandwidthd.


    You don't need any database or snmp connection to monitor all of your client on bandwidthd, all you need just libcap, libpng, libgd and apache installed on your Linux system. And other good news is bandwidthd monitor all of your connected client per IP and per connection protocol.


    Installing Bandwidthd

    Prepare your Linux and download bandwidthd for Linux here. Next extract bandwidth using tar -zxvf command.


    Goto extracted directory and type ./configure && make install to install bandwidth to your system.

    Configuring Bandwidthd

    By default all installed bandwidthd files placed on /usr/local/bandwidthd/ folder. Now goto bandwidthd installed directory and CD to etc, you'll find bandwidthd config file there. Open bandwidthd.conf using your favorite text editor like vi or nano and start edit bandwidthd config file suit your network.

    subnet 192.168.1.0/24
    ev "eth0"
    output_cdf true
    recover_cdf true



    Save your config and start bandwidthd using /usr/local/bandwidthd/bandwidthd. Put that command to your /etc/rc.local file so bandwidthd can start on every time Linux boot.

    Configuring Apache

    You will can't see your graphic report until you set /usr/local/bandwidthd/htdocs/ folder to set as apache virtual directory. Add below line to your apache config file.

    Alias /bandwidthd "/usr/local/bandwidthd/htdocs"
    <Directory "/usr/local/bandwidthd/htdocs">
    Order Allow,Deny
    Allow from All
    </Directory>

    Save your work and restart apache. Next open your browser and point to http://yourlinuxserver/bandwidth.


    Source: http://infodotnet.blogspot.com/2008/...hd-per-ip.html



    ویرایش توسط al1p0ur : 2011-07-03 در ساعت 12:43 PM

  5. #5


    عضو عادی شناسه تصویری sooshiant
    تاریخ عضویت
    Aug 2005
    نوشته
    538
    سپاسگزاری شده
    7
    سپاسگزاری کرده
    44
    با تشکر از توجه شما
    من مطلبی رو که گذاشته بودید خوندم اما نتیجه تغییری نکرد لطفا مراحلی که خودتون انجام دادید رو بگید.یا اینکه آدرس مخرنش رو بدید اضافه کنم تا بتونم با yum نصبش کنم.



  6. #6
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    libpng به صورت rpm نصب کنید و مسیر نصب در نصب bandwidthd بدهید.



کلمات کلیدی در جستجوها:

bandwidthd روش نصب

پیغام alias: unknow darabasesnmp for bandwidth usage on centosنصب Bandwidthd در لینوکسconfig apache for bandwidthderror bandwidthd requires but cannot libpngbandwidthd requires but cannot libpng centosconfigure: error: bandwidthd requires but cannot libpng centos

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •