merge MariaDB to tools.func Installer (#4753)

* merge MariaDB to tools.func Installer

* add more mariadb migrations
This commit is contained in:
CanbiZ 2025-05-27 15:32:22 +02:00 committed by GitHub
parent 5ccf8a7cd6
commit ac2f0e66ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 172 additions and 161 deletions

View file

@ -14,11 +14,8 @@ network_check
update_os
msg_info "Installing Dependencies"
$STD apt-get install -y \
lsb-release \
gpg
lsb-release
curl -fsSL https://packages.sury.org/php/apt.gpg | gpg --dearmor -o /usr/share/keyrings/deb.sury.org-php.gpg
echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" >/etc/apt/sources.list.d/php.list
$STD apt-get update
@ -26,10 +23,11 @@ $STD apt-get update
$STD apt-get install -y \
nginx \
composer \
php8.3-{bcmath,common,ctype,curl,fileinfo,fpm,gd,intl,mbstring,mysql,xml,cli} \
mariadb-server
php8.3-{bcmath,common,ctype,curl,fileinfo,fpm,gd,intl,mbstring,mysql,xml,cli}
msg_ok "Installed Dependencies"
install_mariadb
msg_info "Setting up Database"
DB_NAME=2fauth_db
DB_USER=2fauth