环境: centos7、lamp、防火墙关闭、selinux关闭
配置阿里云zabbix yum源
[root@chenshuyi ~]# rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm
获取https://mirrors.aliyun.com/zabbix/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm
准备中... ################################# [100%]
正在升级/安装...
1:zabbix-release-3.4-1.el7.centos ################################# [100%]
清理缓存
[root@chenshuyi ~]# yum clean all
已加载插件:fastestmirror
正在清理软件源: base zabbix zabbix-non-supported
Cleaning up list of fastest mirrors
Other repos take up 52 M of disk space (use --verbose for details)
[root@chenshuyi ~]# yum makecache
已加载插件:fastestmirror[h2title][/h2title]
Determining fastest mirrors
base | 3.6 kB 00:00:00
zabbix | 2.9 kB 00:00:00
zabbix-non-supported | 2.9 kB 00:00:00
(1/10): base/group_gz | 153 kB 00:00:00
(2/10): base/filelists_db | 3.3 MB 00:00:00
(3/10): base/primary_db | 3.3 MB 00:00:00
(4/10): base/other_db | 1.3 MB 00:00:00
(5/10): zabbix/x86_64/filelists_db | 87 kB 00:00:00