zabbix服务
1.安装一台centos7的机器
2.开始安装zabbix资源仓库包
rpm -ivh http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm
3.安装部署zabbix
yum install zabbix-server-mysql zabbix-web-mysql -y
4.安装客户端
yum insall zabbix-agent -y
5.安装mysql或者mariadb
yum install mariadb mariadb-server -y
6.检查关闭selinux和iptables
getenforce setenforce 0 vim/etc/sysconfig/ selinux
systemctl firewalld stop systemctl disable firewalld
7.登录数据库建表建库授权用户
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by ‘zabbix123’