zabbix 5.0搭建

zabbix 5.0搭建

一、环境配置

主机IP地址配置
zabbix server192.168.200.1302vcpu/4G内存/40G硬盘

二、安装准备

注:关闭防火墙,

[root@server ~]# systemctl stop firewalld
[root@server ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@server ~]# setenforce 0
[root@server ~]# iptables -F
[root@server ~]# iptables -X
[root@server ~]# iptables -Z
[root@server ~]# iptables-save
# Generated by iptables-save v1.4.21 on Wed Nov 17 10:30:58 2021
*filter
:INPUT ACCEPT [20:1168]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [11:916]
COMMIT
# Completed on Wed Nov 17 10:30:58 2021
下载zabbix
[root@server ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
获取https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
警告:/var/tmp/rpm-tmp.2Es3xS: 头V4 RSA/SHA512 Signature, 密钥 ID a14fe591: NOKEY
准备中...                          ################################# [100%]
	软件包 zabbix-release-5.0-1.el7.noarch 已经安装

为了提速因将官网国外的yum源改成国内的

[root@localhost ~]# sed -i 's#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
[root@localhost ~]# yum clean all
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值