9 lines
249 B
Bash
9 lines
249 B
Bash
cat <<EOF>> /etc/yum.repos.d/MariaDB.repo
|
|
[mariadb]
|
|
name = MariaDB
|
|
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
|
|
gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
|
|
gpgcheck = 1
|
|
EOF
|
|
yum install mariadb-server -y
|
|
systemctl enable --now mariadb |