Sunday, March 25, 2007

Adding a dag repository in CentOS

Create a file "dag.repo" in the CentOS repository folder.
[root@localhost ~]# vi /etc/yum.repos.d/dag.repo
The dag.repo should contain the following content.
[dag]
name=Dag-RHEL-Yum
baseurl=http://dag.linux.iastate.edu/dag/redhat/el$releasever/en/$basearch/dag
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el$releasever/en/$basearch/dag
http://mirrors.ircam.fr/pub/dag/redhat/el$releasever/en/$basearch/dag
http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
enabled=1
gpgcheck=1
Installing a RPM-GPG-KEY for dag files. 1st Download the dag RPM-GPG-KEY.
[root@localhost works]# wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
Now import the RPM-GPG-KEY as
[root@localhost works]# rpm --import RPM-GPG-KEY.dag.txt
Thats it you successfully added the dag repository.

No comments: