| 1 | LibreNMS GUI configuration |
| 2 | |
| 3 | http://librenms.example.com/install.php |
| 4 | |
| 5 | [[Image(wiki:Cnbp2019/Agenda/LabSetup:CampusNetwork.png,85%)]] |
| 6 | |
| 7 | Please check permission librenms directory before proceeding step 2 |
| 8 | chmod 775 -R /opt/librenms |
| 9 | |
| 10 | Proceed to configure database connection, and add an admin user. |
| 11 | [[Image(wiki:Cnbp2019/Agenda/LabSetup:CampusNetwork.png,85%)]] |
| 12 | |
| 13 | The web installer might prompt you to create a config.php file in your librenms install location manually, copying the content displayed on-screen to the file. |
| 14 | sudo vim /opt/librenms/config.php |
| 15 | |
| 16 | [[Image(wiki:Cnbp2019/Agenda/LabSetup:CampusNetwork.png,85%)]] |
| 17 | |
| 18 | |
| 19 | |
| 20 | If you have to do this, please remember to set the permissions on config.php after you copied the on-screen contents to the file. Run: |
| 21 | sudo chown librenms:librenms /opt/librenms/config.php |
| 22 | |
| 23 | |
| 24 | You have a ready LibreNMS Monitoring tool, validate the installation by clicking “validate your install and fix any issues” link or using: |
| 25 | |
| 26 | # cd /opt/librenms |
| 27 | # ./validate.php |
| 28 | ==================================== |
| 29 | Component | Version |
| 30 | --------- | ------- |
| 31 | LibreNMS | 1.42 |
| 32 | DB Schema | 257 |
| 33 | PHP | 7.2.7-0ubuntu0.18.04.2 |
| 34 | MySQL | 10.3.8-MariaDB-1:10.3.8+maria~bionic-log |
| 35 | RRDTool | 1.7.0 |
| 36 | SNMP | NET-SNMP 5.7.3 |
| 37 | ==================================== |
| 38 | |
| 39 | [OK] Composer Version: 1.6.5 |
| 40 | [OK] Dependencies up-to-date. |
| 41 | [OK] Database connection successful |
| 42 | [OK] Database schema correct |
| 43 | [WARN] You have not added any devices yet. |
| 44 | [FIX] You can add a device in the webui or with ./addhost.php |
| 45 | [WARN] Your local git contains modified files, this could prevent automatic updates. |
| 46 | [FIX] You can fix this with ./scripts/github-remove |
| 47 | Modified Files: |
| 48 | rrd/.gitignore |
| 49 | |
| 50 | |
| 51 | Login to LibreNMS Admin portal and start configuring your Network Monitoring |
| 52 | |
| 53 | [[Image(wiki:Cnbp2019/Agenda/LabSetup:CampusNetwork.png,85%)]] |