Setup the Dag RPM Repository for Red Hat Enterprise Linux on CentOS

I use the Dag RPM Repository for Red Hat Enterprise Linux repo to install nice little extras like Cacti and htop. Here’s how to add it to CentOS so you can use it with yum.

Edit/Create the repo file:

vi /etc/yum.repos.d/dag.repo

Add this to the repo file:

[dag]
 name=Dag RPM Repository for Red Hat Enterprise Linux
 baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
 gpgcheck=0
 enabled=1
 protect=0

Afterwards yum will pull from this repo too.