配置apache
本文讲述的是:Redhat配置nagios。返回大纲。
注把apache 加入到nagcmd组,以便在通过web Interface 操作nagios是有足够的权限;
- [root@localhost ~]# useradd nagios && passwd nagios //chinahr123$
- Changing password for user nagios.
- New UNIX password:
- BAD PASSWORD: it is based on a dictionary word
- Retype new UNIX password:
- Sorry, passwords do not match.
- New UNIX password:
- Retype new UNIX password:
- passwd: all authentication tokens updated successfully.
- [root@localhost ~]# groupadd nagcmd
- [root@localhost ~]# usermod -G nagcmd nagios
- [root@localhost ~]# usermod -G nagcmd apache
【编辑推荐】