The first step we must do for installing LibreNMS Monitoring Tools is to install some packages needed on the server. Connect to your server and update the repository.
ssh root@hakase-labs-server
sudo apt update
Install all the required packages for LibreNMS from the Ubuntu repository using the following command.
apt-get install fping imagemagick whois mtr-tiny nmap python-mysqldb snmpd rrdtool git snmp graphviz python lsb snmp
After the installation is complete, goto the next step.
Install Nginx Webserver
In this tutorial, we will be running LibreNMS under the Nginx web server. Nginx is powerful web server that’s available in the Ubuntu repositories.
Install nginx using apt command from the repository in the following way.
apt install nginx
When it’s done, start the service and enable it to run automatically every time at system boot.
systemctl start nginx
systemctl enable nginx
Nginx web server is running under the default port 80. We can check the port using the netstat command, and check Nginx using curl command to get the HTTP status code, as shown below.
netstat -plntu | grep 80
curl -I localhost

Nginx installation has been completed. Continue reading “Install Librenms on Ubuntu 16.04” »