

On Ubuntu 20.04 cat > /etc/nginx/sites-enabled/librenms /etc/nginx/sites-enabled/librenms << 'EOL' Be sure to replace the PHP-FPM socket path accordingly. Next, run the commands below to install LibreNMS Nginx site configuration. Remove the default Nginx site configuration.

Next, download and install system distribution detection script curl -o /usr/bin/distro Replace the RANDOMSTRINGGOESHERE with your string. Php-Ĭopy the default SNMP configuration file cp /opt/librenms/ /etc/snmp/nfĮdit the SNMPD and update the community string. sudo apt install -no-install-recommends nginx-full php nmap mtr-tiny \ Nginx is the recommended web server to use. Hence, run the command below to install the Webserver, Nginx, PHP, MariaDB and other required packages. Useradd -d /opt/librenms -M -r -s /bin/bash librenms
