9 lines
193 B
Plaintext
9 lines
193 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
apt-get -y install apg mariadb-server
|
||
|
db_root_pw="$(apg -a 1 -m 24 -x 64 -M clns -n 1)"
|
||
|
printf "\nProposed mariadb root password:\n${db_root_pw}\n"
|
||
|
mysql_secure_installation
|