FreeBSD-4.7 Installing Network Traffic Statistical Analysis Tools MRTG

xiaoxiao2021-03-05  50

Original URL: [URL = www.webrj.com / read.php? Id = 323] http://www.webrj.com/read.php?id=323 [/ url] Seeelinux 2002-12-19 Welcome to MRTG (Multirouter Traffic Grapher, MRTG) is a typical network traffic statistical analysis tool based on SNMP. It consumes a small system resource, and now the latest version is 2.9.25 (MRTG-2.9.25.tar.gz), which can be from http: //people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz got it. Practice notes consolidated by Seelinux in 2002-02-19, Email: Seeelinux@webrj.com URL : www.webrj.com

System environment: FreeBSD-4.7 mini, Hostname Installing Network Traffic Statistics Analysis Tools MRTG required by E0797 (E0797.com) FreeBSD-4.7:

MRTG-2.9.25.tar.gz (latest version) Download: [URL = people.ee.ethz.ch / ~ Oetiker / WebTools / MRTG / PUB / MRTG-2.9.25.tar.gz] http: // people etiker / webtools / mrtg / pub / mrtg-2.9.25.tar.gz [/ url] zlib-1.1.4.tar.gz (latest version) Download: [URL = www.gzip .org / zlib / zlib-1.1.4.tar.gz] http://www.gzip.org/zlib/zlib-1.1.4.tar.gz [/ url]

Libpng-1.2.5.tar.gz (latest version) Download: http://www.aaronfaby.com/software/sources/libpng-1.2.5.tar.gz

GD-1.8.3.tar.gz Download: [URL = www.boutell.com / gd / http / gd-1.8.3.tar.gz] http://www.boutell.com/gd/http/gd- 1.8.3.tar.gz [/ url] (the latest version of GD is: GD-2.0.8.tar.gz, the author is not passed in compile, so use back 1.8.3 version) New one / usr / local / SRC directory, and put the relevant files in some directories, of course you can place it in other locations, see personal hobbies ^. ^ E0797 # mkdir -p / usr / local / src E0797 # CD / usr / local / src

1. Set Zlib E0797 # TAR ZXVF ZLIB-1.1.4.tar.gz E0797 # mv Zlib-1.1.4 Zlib E0797 # cd zlib E0797 #. / Configure E0797 # Make E0797 # CD ..

2, set zlib E0797 # tar zxvf libpng-1.2.5.tar.gz E0797 # mv libpng-1.2.5 libpng E0797 # cd libpng E0797 # Make -f scripts / makefile.std cc = gcc zliblib = .. / zlib Zlibinc = .. / zlib E0797 # CD ..

3, set the GD E0797 # TAR ZXVF GD-1.8.3.Tar.gz E0797 # MV GD-1.8.3 GD E0797 # CD GD E0797 # made includeirs = "- i. -I ../ zlib -i ../ Libpng "/ libdirs =" - l ../ zlib -l. -l ../ libpng "/ libs =" - lgd -lpng -lz -lm "E0797 # CD ..

4, install MRTG E0797 # tar zxvf mrtg-2.9.25.tar.gz E0797 # CD MRTG-2.9.25 E0797 #. / Configure --Prefix = / usr / local / mRTG-2 / --With-gd = / USR / local / src / gd / --with-z = / usr / local / src / zlib / --with-png = / usr / local / src / libp nGE0797 # make

E0797 # make INSTALL To this related MRTG related installation completion, Apache and MRTG can refer to other articles, or www.linuxAid.com, www.linux, www.webrj.com, www.linuxforum. Net gets it. The above steps are successfully installed by Seelinux at 2002-12-19.

转载请注明原文地址:https://www.9cbs.com/read-33021.html

New Post(0)