I’m trying to install LibreNMS on Ubuntu 18.04 LTS (Nginx) using the install instructions in the docs but I’ve run into a problem. In the “Install PHP dependencies” section, the first command is “su - librenms” but it wants a password that I don’t have. I tried setting a password for librenms and doing the “su -” command again but it still didn’t work.
The very first note in the documentation sais: These instructions assume you are the root user. If you are not, prepend sudo to the shell commands (the ones that aren't at mysql> prompts) or temporarily become a user with root privileges with sudo -s or sudo -i
If you are root and run su - librenms you will not be asked for a password. If you are not root, just prepend sudo.