How to install Munin on CentOS?

Add Repositories:

For CentOS 5

rpm –Uhv http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

For CentOS 6

rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install munin munin-node
nano /etc/munin/munin-node.conf

# Which address to bind to;
host 127.0.0.1

/etc/init.d/munin-node start
/sbin/chkconfig munin-node on

If you got those errors:

Transaction Check Error:
  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
  file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch

Run

yum install munin --exclude=perl-XML-SAX-Base --skip-broken

3 thoughts on “How to install Munin on CentOS?”

  1. Disabling the RPMForge repo fixed this for me. There’s a known bug with that package, documented here: https://github.com/repoforge/rpms/issues/211

    Either do it on the yum command line with –disablerepo=rpmforge or make it permanent by editing /etc/yum.repos.d/rpmforge.repo and adding (or editing) the line ‘exclude=perl-XML-SAX-Base’

Leave a Reply

Your email address will not be published. Required fields are marked *