Update mariadb_setup.sh

This commit is contained in:
tteckster 2022-02-16 18:27:44 -05:00 committed by GitHub
parent 86a0e98f07
commit eb28b2cea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -58,11 +58,12 @@ apt-get update >/dev/null
apt-get install -y mariadb-server &>/dev/null apt-get install -y mariadb-server &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Installing Adminer... \e[0m" echo -e "${CHECKMARK} \e[1;92m Installing Adminer... \e[0m"
mkdir /var/log/apache2
chmod 750 /var/log/apache2
chown root:adm /var/log/apache2
sudo apt install adminer -y &>/dev/null sudo apt install adminer -y &>/dev/null
sudo a2enconf adminer &>/dev/null sudo a2enconf adminer &>/dev/null
mkdir /root/var/log/apache2
chmod 750 /root/var/log/apache2
chown root:adm /root/var/log/apache2
sudo systemctl reload apache2 &>/dev/null sudo systemctl reload apache2 &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m" echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"