トップ 差分 一覧 ソース 置換 検索 ヘルプ PDF RSS ログイン

Fedora5 の yum のリポジトリを変更する

yum の設定

その1

[base]
name=CentOS-$releasever - Base
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
gpgcheck=1

#released updates
[update]
name=CentOS-$releasever - Updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
gpgcheck=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/addons/$basearch/
gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
gpgcheck=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
gpgcheck=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
gpgkey=http://ftp.riken.jp/Linux/centos/RPM-GPG-KEY-CentOS-5
gpgcheck=1
enabled=0

#contribs - packages by Centos Users
[contribs]
name=CentOS-$releasever - Contribs
#baseurl=http://mirror.centos.org/centos/$releasever/contribs/$basearch/
baseurl=http://ftp.riken.jp/Linux/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0

その2

$ vi /etc/yum.repos.d/local-core
http://ftp.riken.jp/Linux/fedora/core/5/$ARCH/os
http://ftp.kddilabs.jp/Linux/packages/fedora/core/5/$ARCH/os
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/5/$ARCH/os
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/5/$ARCH/os
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/5/$ARCH/os

$ vi /etc/yum.repos.d/fedora-core.repo 
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
mirrorlist=file:///etc/yum.repos.d/local-core

$ vi /etc/yum.repos.d/local-updates 
http://ftp.riken.jp/Linux/fedora/core/updates/5/$ARCH/
http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/5/$ARCH/
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/updates/5/$ARCH/
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/updates/5/$ARCH/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updates/5/$ARCH/

$ vi /etc/yum.repos.d/fedora-updates.repo 
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
mirrorlist=file:///etc/yum.repos.d/local-updates

$ vi /etc/yum.repos.d/local-extras
http://ftp.riken.jp/Linux/fedora/extras/5/$ARCH/
http://ftp.kddilabs.jp/Linux/packages/fedora/extras/5/$ARCH/
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/extras/5/$ARCH/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/5/$ARCH/

$ vi /etc/yum.repos.d/fedora-extras.repo
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
mirrorlist=file:///etc/yum.repos.d/local-extras

$ rpm --import /usr/share/doc/fedora-release-*/RPM-GPG-KEY*

[カテゴリ: OS > Linux]



  • Hatenaブックマークに追加
  • livedoorクリップに追加
  • del.icio.usに追加
  • FC2ブックマークに追加

最終更新時間:2009年05月17日 23時39分30秒