資源描述:
《smokeping部署手冊(cè)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫(kù)。
1、SmokePing部署手冊(cè)環(huán)境說(shuō)明系統(tǒng)環(huán)境:rhel5u4軟件版本:cgilib-0.5.tar.gzCGI-SpeedyCGI-2.22.tar.gzechoping-6.0.2.tar.gzfping-2.4.tar.gzrrdtool-1.4.4.tar.gzsmokeping-2.4.2.tar.gzSmokeping到2.4的版本新加入了traceroute的功能,但是到2.5版本又將其移除了。最新版本的已經(jīng)可以支持./configure來(lái)進(jìn)行安裝了。準(zhǔn)備工作可先暫時(shí)關(guān)閉iptables以及selinux刨除其他影響,可完成后,將防火墻添加上。安裝rrdtool#安裝依賴(lài)的軟件包
2、:[root@smokepingsmokeping]#yum-yinstallfreetypefreetype-devellibpnglibpng-develgdgd-devellibxml2libxml2-devellibiconvlibiconv-develpangopango-develqpixmanqpixman-develglibglib-develcairocairo-devellibart*gettextgettext-devellibjpeglibjpeg-develperl-XML-Simple.noarchperl-Crypt-SSLeayperl-Digest-HMA
3、C#使rrdtool支持中文[root@smokepingsmokeping]#cat/etc/sysconfig/i18nLANG="zh_CN.UTF-8"[root@smokepingsmokeping]#exportLANG="zh_CN.UTF-8"[root@smokepingsmokeping]#yum-yinstallfonts-chinese#安裝rrdtool[root@smokepingsmokeping]#tar-zxvfrrdtool-1.4.4.tar.gz-C/usr/local/src/[root@smokepingsmokeping]#cd/usr/loc
4、al/src/rrdtool-1.4.4/[root@smokepingrrdtool-1.4.4]#ls[root@smokepingrrdtool-1.4.4]#sed-i's/setlocale(LC_NUMERIC,"C")/setlocale(LC_ALL,"zh_CN.UTF-8")/g'src/rrd_graph.c[root@smokepingrrdtool-1.4.4]#sed-i's/setlocale(LC_NUMERIC,old_locale)/setlocale(LC_ALL,old_locale)/g'src/rrd_graph.c[root@smokeping
5、rrdtool-1.4.4]#./configure--prefix=/usr/local/rrdtool[root@smokepingrrdtool-1.4.4]#make&&makeinstall執(zhí)行rrdtool命令,如果出現(xiàn)以下輸出,表示安裝成功,并列出了該命令的使用幫助。[root@smokepingrrdtool-1.4.4]#cd/usr/local/rrdtool/bin/[root@smokepingbin]#lltotal400-rwxr-xr-x1rootroot95492Jun1709:50rrdcached-rwxr-xr-x1rootroot46362Jun17
6、09:50rrdcgi-rwxr-xr-x1rootroot41520Jun1709:50rrdtool-rwxr-xr-x1rootroot207192Jun1709:50rrdupdate[root@smokepingbin]#./rrdtoolRRDtool1.4.4Copyright1997-2010byTobiasOetikerCompiledJun17201209:50:49Usage:rrdtool[options]commandcommand_optionsValidcommands:create,update,updatev,graph,
7、graphv,dump,restore,last,lastupdate,first,info,fetch,tune,resize,xport,flushcachedRRDtoolisdistributedundertheTermsoftheGNUGeneralPublicLicenseVersion2.(www.gnu.org/copyleft/gpl.html)FormoreinformationreadtheRRDm