diff --git a/install/librenms-install.sh b/install/librenms-install.sh index 26673bd..d4060c0 100644 --- a/install/librenms-install.sh +++ b/install/librenms-install.sh @@ -29,6 +29,7 @@ $STD apt-get install -y \ snmpd msg_ok "Installed Dependencies" +PHP_VERSION=8.2 install_php install_mariadb install_composer @@ -58,16 +59,12 @@ $STD useradd librenms -d /opt/librenms -M -r -s "$(which bash)" fetch_and_deploy_gh_release "librenms/librenms" setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ - - pip3 install --no-user -r /opt/librenms/requirements.txt - cat </opt/librenms/.env DB_DATABASE=${DB_NAME} DB_USERNAME=${DB_USER} DB_PASSWORD=${DB_PASS} EOF - chown -R librenms:librenms /opt/librenms chmod 771 /opt/librenms setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd