kit/other_scripts/mariadb-install.sh

11 lines
212 B
Bash
Executable File

#!/bin/bash
# Exit on error.
set -e
# Simple "script" to install mariadb-server
apt update && sudo apt install -y mariadb-server
# After the install is done, run the security script.
mysql_secure_installation