mirror of https://github.com/tteck/Proxmox.git
Update mariadb-install.sh
reintroduce MariaDB repositories
This commit is contained in:
parent
86d1a388f9
commit
f5b629de51
|
@ -20,6 +20,8 @@ $STD apt-get install -y mc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing MariaDB"
|
msg_info "Installing MariaDB"
|
||||||
|
$STD bash <(curl -fsSL https://r.mariadb.com/downloads/mariadb_repo_setup)
|
||||||
|
$STD apt-get update
|
||||||
$STD apt-get install -y mariadb-server
|
$STD apt-get install -y mariadb-server
|
||||||
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf
|
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf
|
||||||
sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
|
sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||||
|
|
Loading…
Reference in New Issue