安装zabbix-server端
首先安装mysql:https://blog.youkuaiyun.com/qq_40200087/article/details/89479137
安装完毕后,/etc/my.cof配置需要更改下,否则出错
[mysqld]
character_set_server=utf8
init_connect='SET NAMES utf8'
basedir=/usr/local/mysql5.7
datadir=/usr/local/mysql5.7/data
socket=/var/lib/mysql/mysql.sock
socket=/tmp/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/usr/local/mysql5.7/data/mysqld.pid
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d