⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 Network Administration Visualized 网络管理可视化源码
💻
字号:
INSTALL INSTRUCTIONS FOR CRICKET AND MAKECRICKETCONFIG======================================================Contact: John Magne Bredal <bredal@itea.ntnu.no>Version: ALFADOWNLOAD========Cricket v.1.0.3 should be available from the local ftp-server. If not,the official release can be found here:FTP: ftp://download.sourceforge.net/pub/sourceforge/cricket/cricket-1.0.3.tar.gzHTTP: http://download.sourceforge.net/cricket/cricket-1.0.3.tar.gzThe rest of the files are available from the NAV-v3 bundle.DEPENDENCIES============Cricket is dependent on the following modules:MD5                CPAN: by-authors/id/GAAS/Digest-MD5-*.tar.gzLWP                CPAN: by-authors/id/GAAS/libwww-perl-*.tar.gzDB_File            CPAN: by-authors/id/PMQS/DB_File-*.tar.gzDate::Parse        CPAN: by-authors/id/GBARR/TimeDate-*.tar.gzTime::HiRes        CPAN: by-authors/id/DEWEG/Time-HiRes-*.tar.gzSNMP_Session       http://www.switch.ch/misc/leinen/snmp/perlRRD                http://ee-staff.ethz.ch/~oetiker/webtools/rrdtoolThe other scripts are dependent on modules that should already beinstalled in NAV-v3.LOCATION OF INSTALL===================Cricket should be installed in a directory called cricket. Where youput Cricket it totally up to the installer, as long as all the neededdirectories are created (or symlinked) in this directory. Thefollowing steps should make sure it is properly installed:Prepare the install-------------------We will here install Cricket in a directory called cricket located inthe home directory to the navcron user. This is just a suggestion, youmay put Cricket in whatever directory you find suitable.- log in as navcron-usercd ~mkdir cricketcd cricket- copy cricket to this directorycp /path/to/cricket/cricket-1.0.3.tar.gz .- unzip/untartar xvzf cricket-1.0.3.tar.gzln -s cricket-1.0.3 cricketInstall-------cd ~/cricket/cricketsh configurecp cricket-config.pl.sample cricket-config.pl- edit cricket-config.pl and make sure the following parameters are  set or use the file in the NAV-package (this is all that is needed  in the file):	package Common::global;	$gCricketHome = "/home/navcron/cricket";	$gInstallRoot = "$gCricketHome/cricket";	$gConfigRoot = "$gCricketHome/cricket-config";	$gDbAccess = "slurp";   # Slurp the database into memoryLinking the correct directories-------------------------------cd ~/cricket- public_html is the location of the webstuffmkdir public_htmlcd public_htmlln -s ../cricket/imagesln -s ../cricket/grapher.cgiln -s ../cricket/libln -s ../cricket/mini-graph.cgiln -s ../cricket/VERSIONln -s grapher.cgi index.cgicp TRUNK/subsystem/statTools/cricket/public_html/cricket.css .- all the rrds are stored in cricket-datamkdir /usr/local/nav/navme/cricket/cricket-dataln -s /usr/local/nav/navme/cricket/cricket-data- all the config are stored in cricket-configmkdir /usr/local/nav/navme/cricket/cricket-configln -s /usr/local/nav/navme/cricket/cricket-configcd cricket-configcp -r TRUNK/subsystem/statTools/cricket-config .NAV-v3 has it's own install-script for installing some of theproprietary scripts and patches for Cricket. Run the install-script tomake sure that all the correct steps are made.  ---ALFANOTE: The following step will not be necessary depending on ifgetDeviceData has been run. This script might become obsolete. ItSHOULD be safe to run it, but the advice is not to run it. Make suregDD has been run, and skip to the compile script../filltypesnmpoid.plEND OF ALFANOTE---~/cricket/cricket/compile./makecricketconfigRunning for the first time--------------------------cd ~/cricket/cricket- edit the subtree-sets file and make sure the following text are in  (or use the file distributed with NAV-v3):  "  base: cricket-config  logdir: cricket-logs  set normal:       /routers       /switches       /switch-ports       /router-interfaces  set giga:       /giga-router-interfaces       /giga-switch-ports  "- run nav start cricket to put the correct jobs into cron (you must be  root to do this)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -