Original url:http://www.webrj.com/read.php?id=323
MRTG (Multirouter traffic Grapher, MRTG) is a typical network traffic statistics analysis tool based on SNMP, it consumes very little system resources, now the latest version is 2.9.25 (mrtg-2.9.25.tar.gz), can be from http:/ /people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz obtained.
The practice notes were sorted by Seelinux in 2002-02-19, email:seelinux@webrj.com URL:www.webrj.com
System environment: FreeBSD-4.7 mini,hostname (. com)
FreeBSD-4.7 installation of network traffic Statistics analysis tool MRTG required software:
Mrtg-2.9.25.tar.gz |
Http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz |
Zlib-1.1.4.tar.gz |
Http://www.gzip.org/zlib/zlib-1.1.4.tar.gz |
Libpng-1.2.5.tar.gz |
Http://www.gzip.org/zlib/zlib-1.1.4.tar.gz |
Gd-1.8.3.tar.gz |
Http://www.boutell.com/gd/http/gd-1.8.3.tar.gz |
Create a new/USR/LOCAL/SRC directory, and put the relevant files in some directory, of course, you can put to other locations, to see personal love ^.^
# mkdir-p/USR/LOCAL/SRC
# CD/USR/LOCAL/SRC
1, set zlib
#tar ZXVF zlib-1.1.4.tar.gz
#mv zlib-1.1.4 zlib
#cd zlib
#./configure
#make
#cd.
2, set zlib
#tar ZXVF libpng-1.2.5.tar.gz
#mv libpng-1.2.5 libpng
#cd libpng
#make-F scripts/makefile.std cc=gcc zliblib=. /zlib zlibinc=. /zlib
#cd.