centos的默认源在国外,有时候遇见网络拥堵,更换阿里源或者网易源就好很多,然而epel源也需要更换,更换阿里epel源就好很多!

#  yum install epel-release.noarch  #安装epel源

#  wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo    # 下载阿里开源镜像的epel源文件

#  yum clean all  #清除系统所有yum源
#  yum makecache  #生成yum缓存

作者 admin

发表评论

您的电子邮箱地址不会被公开。