diff --git a/ct/freepbx.sh b/ct/freepbx.sh index 0a76d54..103da62 100644 --- a/ct/freepbx.sh +++ b/ct/freepbx.sh @@ -9,9 +9,9 @@ APP="FreePBX" var_tags="pbx;voip;telephony" var_cpu="${var_cpu:-2}" var_ram="${var_ram:-2048}" -var_disk="${var_disk:-20}" +var_disk="${var_disk:-10}" var_os="${var_os:-debian}" -var_version="${var_version:-10}" +var_version="${var_version:-12}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" 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