centos7添加epel源

  1. 下载rpm 包
http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

  1. 安装
rpm -ivh epel-release-latest-7.noarch.rpm

  1. 更新
yum update