使用代理

在/etc/yum.conf中内容找到[main]

然后加入一句:

http=http://1.1.1.1:3128   # 地址换成自己的代理地址即可

换repo:

/etc/yum.repos.d/ 下建立/etc/yum.repos.d/Temple.repo 内容如下:[utterramblings]
name=Jason’s Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

read more from this topic.....