Import LibreNMS database schema into the database. Start and enable SNMPD services systemctl enable -now snmpdĬopy the default cron job in place cp /opt/librenms/ /etc/cron.d/librenmsĮnable Cron jobs log rotation cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenmsĬreate global LibreNMS shortcuts ln -s /opt/librenms/lnms /usr/local/bin/lnmsĮnable LibreNMS bash completion cp /opt/librenms/misc/lnms-completion.bash /etc/bash_completion.d/ Make the script executable chmod +x /usr/bin/distro 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |