This commit is contained in:
root 2024-02-11 11:11:05 +00:00
commit be7ae68590

17
init.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
apt update
apt install -y apt-transport-https lsb-release ca-certificates wget curl
stat "mariadb_repo_setup" || wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup -O "mariadb_repo_setup"
chmod +x mariadb_repo_setup
./mariadb_repo_setup
apt install -y mariadb-server
systemctl start mariadb
systemctl enable mariadb