标签:command 软件包 cmd use with man 安装文档 软件 mode
Nagios与Nagios插件的安装与配置
1.安装依赖的软件(GNU编译器套件)
yum -y install gcc
yum -y install gcc-c++
yum -y install make
2.添加Nagios用户组并配置权限
groupadd nagios && groupadd nagcmd && useradd nagios -g nagcmd -d /local/server/nagios -m
chown nagios.nagios /local/server/nagios/ && chmod -R 775 /local/server/nagios
3.安装Nagios软件包
tar -zxvf nagios-3.4.0.tar.gz && cd nagios
./configure --prefix=/local/server/nagios --with-command-group=nagcmd
make all && make install && make install-init && make install-config && make install-commandmode
4.安装Nagios插件
tar -zxvf nagios-plugins-1.4.15.tar.gz && cd nagios-plugins-1.4.15
./configure --prefix=/local/server/nagios --with-nagios-user=nagios --with-nagios-group=nagios
make && make install
标签:command 软件包 cmd use with man 安装文档 软件 mode
原文地址:https://www.cnblogs.com/qq1207501666/p/8797076.html