一、打开repozabbix官网
https://repo.zabbix.com/zabbix/
二、找到相对应的版本号
https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-agent-4.2.1-1.el7.x86_64.rpm
这个是我需要的版本!
三、wget rpm地址
wget https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-agent-4.2.1-1.el7.x86_64.rpm
四、rpm安装
rpm -ivh zabbix-agent-4.2.1-1.el7.x86_64.rpm
五、启动zabbix-agent
systemctl status zabbix-agent.service
有问题请加博主微信进行沟通!
全部评论