FrontPage/IT/OS/Linux/RepositoryConfigChange
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#navi(../)
#Contents
------------------------
** クライアント側の設定 [#e8a60211]
> Yum リポジトリをデフォルト設定から作成したリポジトリサ...
[root@hoge01 ~]# cd /etc/yum.repos.d/
[root@hoge01 ~]# cp -ip CentOS-Base.repo CentOS-Base-yyy...
[root@hoge01 ~]# vi CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of th...
# update status of each mirror to pick mirrors that are ...
# geographically close to the client. You should use th...
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall ba...
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http://対象ホスト名/centos/$releasever/os/$basea...
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://対象ホスト名/centos/$releasever/updates/$...
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://対象ホスト名/centos/$releasever/extras/$b...
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existi...
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://対象ホスト名/centos/$releasever/centosplu...
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://対象ホスト名/centos/$releasever/contrib/$...
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
** 参考 [#na48ee03]
> [[参考ページ>http://wikiwiki.jp/poiuy/?yum%A5%EA%A5%DD%...
終了行:
#navi(../)
#Contents
------------------------
** クライアント側の設定 [#e8a60211]
> Yum リポジトリをデフォルト設定から作成したリポジトリサ...
[root@hoge01 ~]# cd /etc/yum.repos.d/
[root@hoge01 ~]# cp -ip CentOS-Base.repo CentOS-Base-yyy...
[root@hoge01 ~]# vi CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of th...
# update status of each mirror to pick mirrors that are ...
# geographically close to the client. You should use th...
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall ba...
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=http://対象ホスト名/centos/$releasever/os/$basea...
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=http://対象ホスト名/centos/$releasever/updates/$...
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://対象ホスト名/centos/$releasever/extras/$b...
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existi...
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://対象ホスト名/centos/$releasever/centosplu...
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://対象ホスト名/centos/$releasever/contrib/$...
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
** 参考 [#na48ee03]
> [[参考ページ>http://wikiwiki.jp/poiuy/?yum%A5%EA%A5%DD%...
ページ名: