源碼包:
創(chuàng)新互聯(lián)自2013年起,先為固始等服務(wù)建站,固始等地企業(yè),進(jìn)行企業(yè)商務(wù)咨詢服務(wù)。為固始企業(yè)網(wǎng)站制作PC+手機+微官網(wǎng)三網(wǎng)同步一站式服務(wù)解決您的所有建站問題。libpcap-0.8.3.tar.gz rrdtool-1.2.13.tar.gz ntop-3.3.tar.gz
安裝順序:
先libpcap-0.8.3.tar.gz 或rrdtool-1.2.13.tar.gz,后ntop-3.3.tar.gz
安裝libpcap-0.8.3.tar.gz:
[root@localhost test]# tar -zxf libpcap-0.8.3.tar.gz -C /usr/src/
[root@localhost test]# cd /usr/src/libpcap-0.8.3/
[root@localhost libpcap-0.8.3]# ./configure
[root@localhost libpcap-0.8.3]# make && make install
安裝過程中遇到的問題及解決:
① # ./configure 時
configure: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .
解決辦法# yum install flex -y,然后再執(zhí)行 ./configure
② # make && make install時
make: yacc:命令未找到
make: *** [grammar.c] 錯誤 127
解決辦法# yum install byacc -y,然后再編譯安裝make && make install
安裝rrdtool-1.2.13.tar.gz:
[root@localhost test]# tar -zxf rrdtool-1.2.13.tar.gz -C /usr/src/
[root@localhost test]# cd /usr/src/rrdtool-1.2.13/
[root@localhost rrdtool-1.2.13]#./configure --prefix=/usr/local/
[root@localhost rrdtool-1.2.13]#make && make install
安裝ntop-3.3.tar.gz:
[root@localhost test]#tar -zxf ntop-3.3.tar.gz -C /usr/src/
[root@localhost test]#cd /usr/src/ntop-3.3/
[root@localhost ntop-3.3]#./configure --prefix=/usr/local/
[root@localhost ntop-3.3]# make && make install
[root@localhost ntop-3.3]# ntop -A
Please enter the password for the admin user: 設(shè)置密碼
Please enter the password again:
Passwords don't match. Please try again.
[root@localhost ntop-3.3]# ntop -d -u nobody -w 9000 -i eth0
在瀏覽器中輸入http:// ip:端口,進(jìn)入ntop界面:
安裝過程中遇到的問題及解決:
無法找到configure腳本:
解決辦法:
# yum install automake autoconf -y
① ./autogen.sh --disable-mysql
又報:You must have libtool installed to compile ntop.
Download the appropriate package for your distribution, or get the source
tarball from ftp://ftp.gnu.org/pub/gnu/libtool
解決:# yum install libtool -y,再./autogen.sh --disable-mysql
又報:configure: error: C++ preprocessor "/lib/cpp" fails sanity check
解決:# yum install gcc* -y,再./autogen.sh --disable-mysql
又報:
ERROR: gdbm header or library routines are missing
* (yes means it was found, no means it was not found)
*
* gdbm.h...no
* gdbm_open() in -lgdbm...no
*
*>>> No way to proceed.
*
*??? 1. Install libgdbm
*??? and Rerun ./configure
*??? or 2. Use the --with-gdbm-xxxxx= options
*
*******************************************************************
configure: error: Unable to continue... aborting ./configure
解決:# yum install gdbm-devel -y,再./autogen.sh --disable-mysql
② [root@localhost ntop-3.3]# autoconf
[root@localhost ntop-3.3]# automake
就生成了configure腳本,再繼續(xù)./configure
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
網(wǎng)站欄目:源碼安裝ntop網(wǎng)絡(luò)嗅探工具-創(chuàng)新互聯(lián)
文章起源:http://vcdvsql.cn/article44/cdgoee.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)頁設(shè)計公司、網(wǎng)站策劃、手機網(wǎng)站建設(shè)、關(guān)鍵詞優(yōu)化、用戶體驗、域名注冊
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容