Install LibreNMS on CentOS 7 Minimal

Configure the Web Server

Configure the Web Server

Configure and Start PHP-FPM

In /etc/php-fpm.d/www.conf make these changes:

vi /etc/php-fpm.d/www.conf

;user = apache
user = nginx

group = apache ; keep group as apache

;listen = 127.0.0.1:9000
listen = /run/php-fpm/php-fpm.sock

listen.owner = nginx
listen.group = nginx
listen.mode = 0660

Enable auto-start and restart PHP-FPM

systemctl enable php-fpm
systemctl restart php-fpm

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*