Get the App
SLTechnology News&Howtos  ›  Servers  › 

Centos 7 the simplest LAMP to build a zabbix monitoring platform

Shulou Source: shulou.com Published: 2022-06-02 06:36:58 10月04日 Update

Centos 7 lamp build zabbix

Yum-y install mariadb-server mariadb

Yum install httpd-y

Setenforce 0

Systemctl stop firewalld

Systemctl start httpd

Systemctl start mariadb

Rpm-Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm

Yum clean all

Yum-y install zabbix-server-mysql zabbix-web-mysql zabbix-agent

Mysql-uroot-p

Mysql > create database zabbix character set utf8 collate utf8_bin

Mysql > grant all privileges on zabbix. To zabbix@localhost identified by 'password'

Mysql > quit

Zcat / usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql-uzabbix-p zabbix

Vi / etc/zabbix/zabbix_server.conf

DBPassword=password changes the password to the one set above

Vi / etc/httpd/conf.d/zabbix.conf

Php_value date.timezone Europe/Riga cancels setting the alarm number to Asia/ShangHai

Systemctl restart zabbix-server zabbix-agent httpd

Systemctl enable zabbix-server zabbix-agent httpd

Visit http://IP/zabbix

Tags: Password alarm number platform surveillance. Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Technology Shulou Information NVidia OPPO Reno