shellrpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
jscd /etc/yum.repos.d
更换阿里云仓库
jssed -i 's#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
jsyum install zabbix-server-mysql zabbix-agent -y
jsyum install -y centos-release-scl
注意
安装后它会把文件放到 /opt/rh 目录下