harmonize tools.func

This commit is contained in:
CanbiZ
2025-06-16 15:20:06 +02:00
parent b93927d8e1
commit 06cf03dcb1
16 changed files with 203 additions and 205 deletions

View File

@@ -29,9 +29,9 @@ $STD apt-get install -y \
snmpd
msg_ok "Installed Dependencies"
PHP_VERSION=8.2 PHP_FPM=YES PHP_APACHE=NO PHP_MODULE="gmp,mysql,snmp" install_php
install_mariadb
install_composer
PHP_VERSION=8.2 PHP_FPM=YES PHP_APACHE=NO PHP_MODULE="gmp,mysql,snmp" setup_php
setup_mariadb
setup_composer
setup_uv
msg_info "Installing Python"
@@ -74,7 +74,6 @@ setfacl -d -m g::rwx /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/li
chmod -R ug=rwX /opt/librenms/bootstrap/cache /opt/librenms/storage /opt/librenms/logs /opt/librenms/rrd
msg_ok "Setup LibreNMS"
msg_info "Configure MariaDB"
sed -i "/\[mysqld\]/a innodb_file_per_table=1\nlower_case_table_names=0" /etc/mysql/mariadb.conf.d/50-server.cnf
systemctl enable -q --now mariadb