参照https://mirrors.tuna.tsinghua.edu.cn/help/epel/输入yum install epel-release没有生成相应的repo文件
没的话,你可以自己编辑就OK,我习惯使用阿里源,配置阿里源方法:基础源:https://developer.aliyun.com/mirror/centosEPEL:https://developer.aliyun.com/mirror/epel