sudo apt update
sudo apt upgrade
apt install software-properties-commonadd-apt-repository universeadd-apt-repository ppa:ondrej/phpapt updateapt install acl curl apache2 fping git graphviz imagemagick libapache2-mod-fcgid mariadb-client mariadb-server mtr-tiny nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd whois python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip
su - librenms
./scripts/composer_wrapper.php install --no-dev
exitvi /etc/php/8.1/fpm/php.ini
vi /etc/php/8.1/cli/php.inicp /etc/php/8.1/fpm/pool.d/www.conf /etc/php/8.1/fpm/pool.d/librenms.conf
vi /etc/php/8.1/fpm/pool.d/librenms.confChange [www] to [librenms]:
[librenms]
Change user and group to "librenms":
user = librenms
group = librenms
Change listen to a unique name:
listen = /run/php-fpm-librenms.sock