进行yum安装时报错
[Errno 256] No more mirrors to try.
http://mirrors.aliyun.com/epel/6/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
在这里插入图片描述

  1. 进入yum.repos.d cd /etc/yum.repos.d/
  2. 执行wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
  3. 清除缓存 yum clean all
  4. 之后再进行yum安装