2009年2月26日星期四

一个Centos 的源

[root@sample ~]# vi /etc/yum.repos.d/dag.repo  ← 建立dag.repo,定义非官方库

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
#baseurl=http://apt.sw.be/redhat/el5/en/$basearch/dag
baseurl=http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/i386/dag
gpgcheck=1
enabled=1

[root@sample ~]# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 

导入非官方库的GPG

没有评论: