發新話題
打印

ntop 安裝方法

ntop 安裝方法

1.先下載ntop-current套件
複製內容到剪貼板
代碼:
#wget http://www.ihao.org/download/ntop-current.tgz
2.執行解壓縮
複製內容到剪貼板
代碼:
#tar zxvf ntop-current.tgz
3.開始安裝
複製內容到剪貼板
代碼:
cd ntop-current/gdchart0.94c
./configure
cd gd-1.8.3/libpng-1.2.4
cp -f scripts/makefile.linux Makefile
make
cd ../../zlib-1.1.4
./configure
make
cd ..
make
cd ../ntop
./configure
make
make install
4.Creat 放置暫存檔的地方
複製內容到剪貼板
代碼:
mkdir -p /home/ntop_db
chown 99.99 /home/ntop_db
5. 初次執行系統,並且輸入管理者密碼
複製內容到剪貼板
代碼:
/usr/local/bin/ntop -u nobody -P /home/ntop_db

TOP

發新話題