yum 源
[base]
name=CentOS-5-Base
#mirrorlist=
#baseurl=
baseurl=
gpgcheck=1
gpgkey=
#released updates
[update]
name=CentOS-5-Updates
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#packages used/produced in the build but not released
[addons]
name=CentOS-5-Addons
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#additional packages that may be useful
[extras]
name=CentOS-5-Extras
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5-Plus
#mirrorlist=
baseurl=
gpgcheck=1
enabled=0
gpgkey=
#contrib - packages by Centos Users
[contrib]
name=CentOS-5-Contrib
#mirrorlist=
baseurl=
gpgcheck=1
enabled=0
gpgkey=
# vi dag.repo
[dag]
name=Dag RPM Repository for RHEL5
baseurl=
enabled=1
gpgcheck=1
gpgkey=
导入key
#rpm –import
阅读(1136) | 评论(0) | 转发(0) |