cd
/etc/yum
.repos.d/
vi
rhel-debuginfo.repo
[base]
name=CentOS-5 - Base - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=os
baseurl=http:
//mirrors
.163.com
/centos/5/os/
$basearch/
gpgcheck=1
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[updates]
name=CentOS-5 - Updates - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=updates
baseurl=http:
//mirrors
.163.com
/centos/5/updates/
$basearch/
gpgcheck=1
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[addons]
name=CentOS-5 - Addons - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=addons
baseurl=http:
//mirrors
.163.com
/centos/5/addons/
$basearch/
gpgcheck=1
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[extras]
name=CentOS-5 - Extras - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=extras
baseurl=http:
//mirrors
.163.com
/centos/5/extras/
$basearch/
gpgcheck=1
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[centosplus]
name=CentOS-5 - Plus - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=centosplus
baseurl=http:
//mirrors
.163.com
/centos/5/centosplus/
$basearch/
gpgcheck=1
enabled=0
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[contrib]
name=CentOS-5 - Contrib - 163.com
mirrorlist=http:
//mirrorlist
.centos.org/?release=5&arch=$basearch&repo=contrib
baseurl=http:
//mirrors
.163.com
/centos/5/contrib/
$basearch/
gpgcheck=1
enabled=0
gpgkey=
file
:
///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5