auto_install_mariadb_ab.sh
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了auto_install_mariadb_ab.sh相关的知识,希望对你有一定的参考价值。
#!/bin/bash
#auto make install mariadb ab repliation
#by author efoni
#20180914
MARIADB_SOFT="mariadb mariadb-server mariadb-devel php-mysql"
#MYSQL_SOFT="mysql mysql-server mysql-devel php-mysql"
NUM=rpm -qa | grep -i mariadb | wc -l
CODE=$?
#mariadb install
if [ $NUM -ne 0 ]; then
echo -e "