This commit is contained in:
2017-09-06 17:49:23 +08:00
parent fde5d8dead
commit 4512994566
4 changed files with 10 additions and 12 deletions

View File

@@ -6,8 +6,8 @@ sudo yum install -y mariadb-server
# Configure MariaDB
echo "Configuring MariaDB..."
sudo cp `${SCRIPT_ROOT}/conf/my.cnf` /etc/my.cnf
sudo cp `${SCRIPT_ROOT}/conf/server.cnf` /etc/my.cnf.d/server.cnf
sudo cp ${SCRIPT_ROOT}/conf/my.cnf /etc/my.cnf
sudo cp ${SCRIPT_ROOT}/conf/server.cnf /etc/my.cnf.d/server.cnf
echo "Install and start service..."
sudo systemctl restart php-fpm.service
@@ -24,4 +24,4 @@ y
y
y
y
EOF
EOF