SETTING UP THE BUILD ENVIRONMENT
cd ~/Desktop/mkdir build-mrtg2cd build-mrtg2BUILDING & INSTALLING LIBPNG
curl -O http://superb-east.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.12.tar.bz2md5 libng-1.2.12.tar.bz2tar -xjf libpng-1.2.12.tar.bz2pushd libpng-1.2.12./configuremake checksudo make installpopdBUILDING & INSTALLING GD
curl -O http://www.boutell.com/gd/http/gd-2.0.33.tar.gztar -xzf gd-2.0.33.tar.gzpushd gd-2.0.33./configure --without-freetype --without-jpeg --without-fontconfigmake checksudo make installpopdBUILDING & INSTALLING MRTG:
curl -O http://oss.oetiker.ch/mrtg/pub/mrtg-2.14.7.tar.gzmd5 mrtg-2.14.7.tar.gztar -xzf mrtg-2.14.7.tar.gzpushd mrtg-2.14.7./configure --prefix=/usr/local/mrtg-2makesudo make installpopdCLOSING:
That’s it, you’re done. You can delete the
~/Desktop/build-mrtg2/ directory once you’re confident that MRTG is working as intended and you won’t have to rebuild any part of it.
No comments:
Post a Comment