遇到的错误[root@DBTEST ~]# yum install zabbix-agent -yLoaded plugins: fastestmirror, securityLoading mirror speeds from cached hostfile * base: mirrors.njupt.edu.cn * extras: mirrors.aliyun.com * updates: mirrors.njupt.edu.cnSetting up Install ProcessNothing to do解决方法确定机器能联网,ping 百度。更换系统 yum 源。// 备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup// CentOS 6 下载wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo// 更改CentOS-Media.repo使其为不生效:(本机已经是不生效)enabled=0// 运行yum makecache生成缓存yum clean allyum makecache