4,配置zabbix前端
4.1配置php配置文件
vi /etc/php.ini max_execution_time = 300 memory_limit = 128M post_max_size = 16M upload_max_filesize = 2M max_input_vars = 10000 always_populate_raw_post_data = -1 date.timezone = Asia/Shanghai
4.2启动httpd
systemctl start httpd.service systemctl status httpd.service
4.3 通过http://192.168.177.145/zabbix/setup.php访问zabbix
标记的地方就是我们配置的地方,不满足要求是没法下一步的
4.4设置数据库密码
4.5设置zabbix server
4.6最后确认
4.7接下来登录zabbix
账号:Admin
密码:zabbix
4.8登录进入页面
至此zabbx server安装完成
5,安装zabbix proxy
yum -y install zabbix-proxy-mysql
5.1安装数据库参考2.3.5步骤
5.2 创建数据库
create database zabbix_proxy character set utf8 collate utf8_bin;
5.3 创建用户
grant all privileges on zabbix_proxy.* to zabbix@localhost identified by 'zabbix@somnus123'; flush privileges;