2019年1月26日 星期六

Install Nagios Core from RPM on CentOS 7 / RHEL 7


引用: http://www.tuxfixer.com/install-nagios-core-from-rpm-on-centos-7-red-hat-7/




yum install httpd -y

vi /etc/yum.repos.d/rpmfind.repo

# Rpmfind repository file

[rpmfind]
name=Rpmfind repository
baseurl=http://195.220.108.108/linux/epel/7/x86_64/
enabled=1
gpgcheck=0

yum install nagios nagios-common nagios-plugins-all -y

htpasswd -c /etc/nagios/passwd nagiosadmin

systemctl start httpd
systemctl enable httpd
systemctl start nagios
systemctl enable nagios
systemctl stop  firewalld
systemctl disable  firewalld

沒有留言:

RHEL install EPEL

  https://www.linuxtechi.com/install-epel-repo-on-rhel-system/ EPEL dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest...