centos7.9安装zabbix5.0.14

本文档详细介绍了在CentOS7上安装和配置Zabbix监控系统的过程,包括关闭firewalld和selinux,配置Zabbix和MySQL仓库,安装数据库和服务,设置Zabbix相关组件,创建数据库并导入数据,调整MySQL配置以提高性能,以及启动Zabbix服务器和agent。此外,还涉及到Zabbix前端的配置和启动,以及登录前端的默认凭证。

一、基础环境配置
1、关闭firewalld、关闭selinux

##关闭firewalld
systemctl stop firewalld
systemctl disabled firewalld
##关闭selinux
setenforce 0 && sed -i.bak 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config

2、配置yum仓库
配置zabbix仓库

wget https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum install zabbix-release-5.0-1.el7.noarch.rpm
##在/etc/yum.repos.d/中查看zabbix仓库的配置情况
[root@localhost opt]# cat /etc/yum.repos.d/zabbix.repo 
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

[zabbix-frontend]
name=Zabbix Official Repository frontend - $basearch
baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

[zabbix-debuginfo]
name=Zabbix Official Repository debuginfo - $basearch
baseurl
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值