Our system’s hostname is server1.example.com, and we have a website www.example.com on it with the document root/var/www/www.example.com/web.
The following steps have to be performed as root user. To become root user on your server, run this command:
Ensure that the system is up to date before you start to install Munin, run:
apt-get update apt-get upgrade
Apache is used to show the Munin pages, the apache fcgid module is required for the Munin graph zoom feature. I will install apache and the libapache2-mod-fcgid module with apt.