安装nagvis-1.9.2步骤
来源:互联网 发布:淘宝买家怎么提升等级 编辑:程序博客网 时间:2024/05/21 22:23
去官网下载1.9.2版本。然后解压后,进入安装目录。
输入安装命令:
./install.sh -n /usr/local/nagios -p /usr/local/nagvis -b ndo2db -u apache -g apache -w /etc/httpd/conf.d -a y
安装下图 提示安装。但是选择backup end 请选择ndb2do,其他选择no
+------------------------------------------------------------------------------+| Welcome to NagVis Installer 1.9.2 |+------------------------------------------------------------------------------+| This script is built to facilitate the NagVis installation and update || procedure for you. The installer has been tested on the following systems: || - Debian, since Etch (4.0) || - Ubuntu, since Hardy (8.04) || - SuSE Linux Enterprise Server 10 and 11 || || Similar distributions to the ones mentioned above should work as well. || That (hopefully) includes RedHat, Fedora, CentOS, OpenSuSE || || If you experience any problems using these or other distributions, please || report that to the NagVis team. |+------------------------------------------------------------------------------+| Do you want to proceed? [y]: y+------------------------------------------------------------------------------+| Starting installation of NagVis 1.9.2 |+------------------------------------------------------------------------------+| |+--- Checking for tools -------------------------------------------------------+| Using packet manager /usr/bin/rpm found || |+--- Checking paths -----------------------------------------------------------+| Please enter the path to the nagios base directory [/usr/local/nagios]: | nagios path /usr/local/nagios found || Please enter the path to NagVis base [/usr/local/nagvis]: | |+--- Checking prerequisites ---------------------------------------------------+| PHP 5.4 found || PHP Module: gd php found || PHP Module: mbstring php found || PHP Module: gettext compiled_in found || PHP Module: session compiled_in found || PHP Module: xml php found || PHP Module: pdo php found || Apache mod_php found || Do you want to update the backend configuration? [n]: | WARNING: The Graphviz package was not found. || This may not be a problem if you installed it from source || Graphviz Module dot MISSING || Graphviz Module neato MISSING || Graphviz Module twopi MISSING || Graphviz Module circo MISSING || Graphviz Module fdp MISSING || SQLite 3.7 found || |+--- Trying to detect Apache settings -----------------------------------------+| Please enter the web path to NagVis [/nagvis]: | Please enter the name of the web-server user [apache]: | Please enter the name of the web-server group [apache]: | create Apache config file [y]: | |+--- Checking for existing NagVis ---------------------------------------------+| NagVis 1.9.2 found || Do you want the installer to update your config files when possible? [y]: | Remove backup directory after successful installation? [n]: | |+------------------------------------------------------------------------------+| Summary |+------------------------------------------------------------------------------+| NagVis home will be: /usr/local/nagvis || Owner of NagVis files will be: apache || Group of NagVis files will be: apache || Path to Apache config dir is: /etc/httpd/conf.d || Apache config will be created: yes || || Installation mode: update || Old version: 1.9.2 || New version: 1.9.2 || Backup directory: /usr/local/nagvis.old-2017-08-23_14:51:54 || || Note: The current NagVis directory will be moved to the backup directory. || The backup directory will be NOT removed after successful installation || Your configuration files will be copied. || The configuration files will be updated if possible. || || Do you really want to continue? [y]: +------------------------------------------------------------------------------+| Starting installation |+------------------------------------------------------------------------------+| Moving old NagVis to /usr/local/nagvis.old-2017-08-23_14:51:54.. done || Creating directory /usr/local/nagvis... done || Creating directory /usr/local/nagvis/var... done || Creating directory /usr/local/nagvis/var/tmpl/cache... done || Creating directory /usr/local/nagvis/var/tmpl/compile... done || Creating directory /usr/local/nagvis/share/var... done || Copying files to /usr/local/nagvis... done || Creating directory /usr/local/nagvis/etc/profiles... done || Creating main configuration file... done || Adding webserver group to file_group... done || *** /etc/httpd/conf.d/nagvis.conf will NOT be overwritten ! || *** creating /etc/httpd/conf.d/nagvis.conf.2017-08-23_14:51:54 instead (comm || Creating web configuration file... done || Setting permissions for web configuration file... done || || Restoring main configuration file(s)... done || Restoring custom map configuration files... done || Restoring custom geomap source files... done || Restoring user configuration files... done || Restoring conf.d/ configuration files... done || Restoring custom map images... done || Restoring custom gadget images... done || Restoring custom iconsets... done || Restoring custom shapes... done || Restoring custom templates... done || Restoring custom template images... done || Restoring custom gadgets... done || Restoring custom scripts... done || Restoring custom stylesheets... done || |+------------------------------------------------------------------------------+| Handling changed/removed options |+------------------------------------------------------------------------------+| Removing allowedforconfig option from main config... done || Removing autoupdatefreq option from main config... done || Removing htmlwuijs option from main config... done || Removing wuijs option from main config... done || Removing showautomaps option from main config... done || Removing usegdlibs option from main config... done || Removing displayheader option from main config... done || Removing hovertimeout option from main config... done || Removing requestmaxparams option from main config... done || Removing requestmaxlength option from main config... done || Removing allowed_for_config option from map configs... done || Removing allowed_user from map configs... done || Removing hover_timeout from map configs... done || Removing usegdlibs from map configs... done || Removing gadget_type from map configs... done |+------------------------------------------------------------------------------+| HINT: Please check the changelog or the documentation for changes which || affect your configuration files || |+--- Setting permissions... ---------------------------------------------------+| /usr/local/nagvis/etc/nagvis.ini.php-sample done || /usr/local/nagvis/etc done || /usr/local/nagvis/etc/maps done || /usr/local/nagvis/etc/maps/* done || /usr/local/nagvis/etc/geomap done || /usr/local/nagvis/etc/geomap/* done || /usr/local/nagvis/etc/profiles done || /usr/local/nagvis/share/userfiles/images/maps done || /usr/local/nagvis/share/userfiles/images/maps/* done || /usr/local/nagvis/share/userfiles/images/shapes done || /usr/local/nagvis/share/userfiles/images/shapes/* done || /usr/local/nagvis/var done || /usr/local/nagvis/var/* done || /usr/local/nagvis/var/tmpl done || /usr/local/nagvis/var/tmpl/cache done || /usr/local/nagvis/var/tmpl/compile done || /usr/local/nagvis/share/var done || |+------------------------------------------------------------------------------+| Installation complete || || You can safely remove this source directory. || || For later update/upgrade you may use this command to have a faster update: || ./install.sh -n /usr/local/nagios -p /usr/local/nagvis -u apache -g apache -w /etc/httpd/conf.d -a y| || What to do next? || - Read the documentation || - Maybe you want to edit the main configuration file? || Its location is: /usr/local/nagvis/etc/nagvis.ini.php || - Configure NagVis via browser || <http://localhost/nagvis/config.php> || - Initial admin credentials: || Username: admin || Password: admin |+------------------------------------------------------------------------------+
按照提示输入。
安装完成后,重启apacher.
输入URL
http://127.0.0.1/nagvis/
出现登录界面,用户名和密码都是admin。
安装成功。
阅读全文
0 0
- 安装nagvis-1.9.2步骤
- cacti + nagios + ndoutility + nagvis安装及配置
- NagVis实物监控工具
- ArcGIS9.2安装步骤
- ArcGIS9.2安装步骤
- RVDS2.2安装步骤
- Tornado2.2安装步骤
- Oracle11.2g安装步骤
- Centos7.2安装详细步骤
- Mysql安装步骤(2)直接安装
- 安装步骤
- Tornado2.2 for Arm安装步骤
- Linux安装JDK详细步骤2
- Linux安装JDK详细步骤2
- centos5.2 上安装gcc步骤
- Arm-linux-gcc-4.3.2安装步骤
- Linux下安装python3.2步骤
- Arm-linux-gcc-4.3.2安装步骤
- Shell编程学习笔记
- Leetcode657. Judge Route Circle
- Fragment跳转相册并将选中的图片显示在Fragment的ImageView
- 机器学习---Logistic回归数学推导以及python实现
- 物联网思维详解
- 安装nagvis-1.9.2步骤
- iOS 单例设计模式
- 数据库报错无法打开的紧急救援案例
- 文章标题 HDU 2874 : Connections between cities(LCA+并查集)
- yum安装lnmp-mysql
- ImageLoader加载图片
- linux编程---线程---条件变量
- MapReduce 程序(1)
- 仪表盘类型