日本CentOS 5升级源

VPS.net的日本服务器IP是归属是美国,故yum的fast mirror功能没法用,升级速度巨慢,于是找了个日本CentOS 5镜像,速度不错。

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever – Base
baseurl=http://ftp.tsukuba.wide.ad.jp/Linux/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever – Updates
baseurl=http://ftp.tsukuba.wide.ad.jp/Linux/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever – Extras
baseurl=http://ftp.tsukuba.wide.ad.jp/Linux/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
baseurl=http://ftp.tsukuba.wide.ad.jp/Linux/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib – packages by Centos Users
[contrib]
name=CentOS-$releasever – Contrib
baseurl=http://ftp.tsukuba.wide.ad.jp/Linux/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


© 2012, kangzj. 版权所有.

Tags: , , ,
| 一月 16th, 2012 | Posted in 服务器OS |

3 Responses to “日本CentOS 5升级源”

  1. ˉ黑色.小亮 Says:

    这文章好像在哪看到过..

    [回复]

  2. java Says:

    博主现在在哪工作哇 读研了么
    看你博客长大的。。。非计算机类专业现在玩Linux中

    [回复]

  3. 苏洋 Says:

    看来放假是更新博客的杀手- -.

    [回复]

Leave a Reply