发现在阿里云提供的 Alibaba Cloud linux 2 上装置 Zabbix 5.0 时报错,
运行:yum install centos-release-scl
后果失去:No package centos-release-scl available.
大略是某些不可形容的起因。
cat /etc/redhat-release
失去的版本是:Alibaba Cloud Linux (Aliyun Linux) release 2.1903 LTS (Hunting Beagle)
so, 自强了一番。
答案如下:rpm -ivh https://cbs.centos.org/kojifiles/packages/centos-release-scl-rh/2/3.el7.centos/noarch/centos-release-scl-rh-2-3.el7.centos.noarch.rpm
rpm -ivh https://cbs.centos.org/kojifiles/packages/centos-release-scl/2/3.el7.centos/noarch/centos-release-scl-2-3.el7.centos.noarch.rpm
胜利装置完 centos-release-scl 后,Zabbix 装置得以持续。
参考链接:
Zabbix 5.0
Centos-release-scl