|
|
FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
FreeBSD-4.7 MRTG installed network traffic analysis tool
Original URL : [url=www.webrj.com/read.php?id=323]http://www.webrj.com/read.php?id=323[/url] Seelinux 2002-12-19
Welcome to reproduce MRTG (MultiRouter Traffic Grapher, MRTG) is typical of SNMP-based network traffic analysis tool, a very small amount of system resources, the latest version is 2.9.25 (mrtg-2.9.25.tar.gz), available from http : //people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg-2.9.25.tar.gz made. Practice notes from seelinux finishing in 2002-02-19, Email:seelinux@webrj.com URL:www.webrj.com
Environment : FreeBSD-4.7 miniere, hostname for e0797 (E0797.com) FreeBSD-4.7 under MRTG installation of the necessary software tools for analysis of network traffic statistics :
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.ee.ethz.ch/~oetiker/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] (GD : gd-2.0.8.tar.gz latest version, the author of the translation did not have passed, we go back to the version 1.8.3) /usr/local/src A new catalog, and some relevant documents on the list, you may be placed in other positions, among individuals who love ^.^ E0797#mkdir-p /usr/local/src E0797#cd /usr/local/src
1, installed 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, installed 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, installed gd E0797#tar zxvf gd-1.8.3.tar.gz E0797#mv gd-1.8.3 gd E0797#cd gd E0797#make INCLUDEDIRS= "- I. - I. . /zlib - I. . /libpng "\ LIBDIRS= "L. . /zlib L. L. . /libpng "\ LIBS= "-lgd -lpng -lz -lm" E0797#cd. .
4, MRTG installation 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/libpng
E0797#make
E0797#make install MRTG installation of the relevant here would have completed the relevant application can refer APACHE MRTG and other articles are also available www.linuxaid.com, www.linuxcn.org, www.webrj.com. www.linuxforum.net access. 2002-12-19 seelinux the above steps by the success of the installation.
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
An excellent article is absolutely, I succeeded in Linux distribution FreeBSD has not been successful in the hope that everyone will test
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
I use the port equipment can be used. Feel good to use port.
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
We can not deny port installation However, sometimes you learn to consider the number and speed of networks? Compiler can see that a lot of learning to use OSS will speed up the progress I feel like Kazakhstan Port-click the installation rpm包 Finished up on what is the distribution of matter I think the compiler usually possible FOSS
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
No problem editing the above steps, a success.
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
I successfully tested under 4.5
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
I ucd-snmp installation and configuration snmp, the problems he encountered, whether Talk about your specific configuration.
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
Instead, I now successfully installed, but there is a problem, to use signature words from Web page text when Browse, update the above time, I look at the corresponding html file, the time information is correct, but the visit did not show changes I do not know the reasons behind!
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
Default time it is updated five minutes; If you think it can not automatically renewable, then installed inside the crontab
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
FreeBSD-4.7 +apache2.0.46 successfully installed in a standard today!
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
I have some problems with the installation of the next steps.
3, installed gd E0797#tar zxvf gd-1.8.3.tar.gz E0797#mv gd-1.8.3 gd E0797#cd gd E0797#make INCLUDEDIRS= "- I. - I. . /zlib - I. . /libpng "\ LIBDIRS= "L. . /zlib L. L. . /libpng "\ LIBS= "-lgd -lpng -lz -lm" E0797#cd. . Above LIBDIRS= "L. . /zlib L. L. . /libpng Is LIBDIRS= should read : "L. L. . /zlib L. . /libpng Even into the top example, I have also suggested that a mistake in gd.c, gd.c deleted on the trip by a 1-3.
I was not successful in the Linux installation, use freebsd, but they still did not succeed, I really do not behave like the. Successfully installed in rh9 start mrtg, run-time errors suggest the following :
/usr/local/mrtg-2/bin/mrtg /etc/mrtg.cfg -----------------------------------------------------------------------
ERROR : Mrtg will most likely not work when the environment propperly LANG variable is set to Unix. Please run in an environment mrtg Where this is not the case :
Env LANG=C /usr/local/mrtg-2/bin/mrtg. . .
|
|
|
Re : FreeBSD-4.7 MRTG installed network traffic analysis tool
|
|
FreeBSD port used in the installation A very convenient.
|