Install Munin on CentOS 7

To install Munin on CentOS 7, we do this:
install munin munin-node
Enable and start:
systemctl enable munin-node
systemctl start munin-node

Opening the main munin configuration file:
nano /etc/munin/munin.conf
we replace localhost with server1.example.com. Without the comments, the changed file looks like this:

[...]
# a simple host tree
[server1.example.com]
    address 127.0.0.1
    use_node_name yes
[...]

nano /etc/httpd/conf.d/munin.conf
Add:

Alias /munin /var/www/html/munin

The munin statistics are protected with a username and password (Apache basic auth):
htpassd /etc/munin/munin-htpasswd admin
service httpd restart
Done. Go to http://www.example.com/munin/ in your browser, and you see the first statistics.