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>
0 Comments