Step 1: update the repository

sudo apt update


Step 2: Enable root login

sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config

sudo systemctl restart ssh

sudo passwd  #change the root password if necessay


Step 3: Add & Install the required Repository

echo "deb https://apt.izzysoft.de/ubuntu generic universe" > /etc/apt/sources.list.d/monitorix.list

wget -qO- https://apt.izzysoft.de/izzysoft.asc | apt-key add -

Step 4: Update the System Packages

apt update

Step 5: Install Monitorix

apt install monitorix

Step 6: Start, Enable & Status Monitorix

    systemctl start monitorix

    systemctl enable monitorix

    systemctl status monitorix

Monitorix Status


Step 7: Check the Monitorix Version


Monitorix version

Step 8: Configure Monitorix file

    nano /etc/monitorix/monitorix.conf

         <auth>

                enabled = y

                hosts_deny = all

                msg = Monitorix: Restricted access

                htpasswd = /var/lib/monitorix/htpasswd

        </auth>

    </httpd_builtin>


Step 9: Install Apache and Apache Utilities
    apt install apache2 apache2-utils

Step 10: Add Username & Password
    htpasswd -d -c /var/lib/monitorix/htpasswd admin

Then,Restart monitorix
    systemctl restart monitorix
Step 11: Allow the port number 8080 on ufw firewall
    ufw allow 8080/tcp
Step 12: Open the Browser and enter the IP-Address
    http://server-ip:8080/monitorix
Login Prompt



Therefore the Monitorix Installation Completed