1
This commit is contained in:
commit
be7ae68590
17
init.sh
Executable file
17
init.sh
Executable 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
|
||||||
Loading…
x
Reference in New Issue
Block a user