wget is a tool to download the file
Sixth, modify yum source for domestic mirror
1. cut into the directory CentOS-Base.repo
2. The CentOS-Base.repo renamed CentOS-Base.repo.bak
mv CentOS CentOS Base.repo Base.repo.bak
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/Centos-7.repo
Finally, you can use wget fast download resource needs, it is convenient