mariadb/client-install.sh

raw link view readme
1 cat > /etc/yum.repos.d/mariadb.repo << EOF
2 [mariadb]
3 name = MariaDB
4 baseurl = http://yum.mariadb.org/10.1/centos7-amd64
5 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
6 gpgcheck=1
7 EOF
8
9 yum install MariaDB-client -y
10
11 yum install firewalld -y
12 systemctl start firewalld
13 systemctl enable firewalld
14