commit be7ae685909d0bdea8e657fd89d78660419aed56 Author: root Date: Sun Feb 11 11:11:05 2024 +0000 1 diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..0dedbad --- /dev/null +++ b/init.sh @@ -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