debian-install-latest-maria.../init.sh

18 lines
355 B
Bash
Raw Normal View History

2024-02-11 13:11:05 +02:00
#!/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