From 638c78715fefbd05aac5d4fcb54816327a295fe6 Mon Sep 17 00:00:00 2001 From: jiuming Date: Wed, 24 Oct 2018 11:01:40 +0800 Subject: [PATCH] Startup mariadb.service when booting. --- trunk/install/install-centos7.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/install/install-centos7.sh b/trunk/install/install-centos7.sh index 4df17a191f5..3c27267e094 100755 --- a/trunk/install/install-centos7.sh +++ b/trunk/install/install-centos7.sh @@ -72,6 +72,9 @@ systemctl restart php-fpm.service # startup php-fpm.service when booting. systemctl enable php-fpm.service +# startup mariadb.service when booting. +systemctl enable mariadb.service + # if `GET localhost` get 403 or 503 response code , "access denied" or other response content, # remove '#' from next line and run script to allow httpd read user content ( /home/judge/src/web ). # setsebool -P httpd_read_user_content 1