In this tutorial, you will get some information on the installation of LibreNMS on Ubuntu 16.04.
In this article, you will get some information on the installation of php for different tools on Ubuntu.