标签:mariadb doc serve cat modify repo word status sql
rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
yum install zabbix-server zabbix-webe zabbix-server-mysql zabbix-web-mysql mariadb-server mariadb zabbix-agent -y
vim /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Shanghai
systemctl start mariadb
mysql
create database zabbix character set utf8 collate utf8_bin;
grant all on zabbix.* to zabbix@'localhost' identified by '123456';
exit
cd /usr/share/doc/zabbix-server-mysql-3.2.11/
zcat create.sql.gz |mysql -uzabbix -p123456 zabbix
vim /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName-zabbix
DBUser=zabbix
DBPassword=123456
systemctl start zabbix-server
systemctl status zabbix-server
systemctl restart httpd
Admin
zabbix
vim /etc/zabbix/zabbix_agentd.conf
systemctl restart zabbix-agent
How to install Zabbix on CENTOS 7
标签:mariadb doc serve cat modify repo word status sql
原文地址:https://www.cnblogs.com/wadelin/p/12241685.html