From f6ee260bf812d6338301755f6beb30ab348249d3 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 29 Jun 2022 23:57:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5phpmyadmin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- scripts/quick/app.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d01917c6..f3d928237 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/update_cn.s ### 通用安装 ``` -curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/quick/app.sh | bash +curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/quick/app.sh | bash ``` diff --git a/scripts/quick/app.sh b/scripts/quick/app.sh index 6093b0c42..d8310683c 100755 --- a/scripts/quick/app.sh +++ b/scripts/quick/app.sh @@ -41,6 +41,13 @@ else echo "mysql alreay exist!" fi +# phpmyadmin +if [ ! -d /www/server/phpmyadmin ];then + cd /www/server/mdserver-web/plugins/phpmyadmin && bash install.sh install 4.4.15 +else + echo "phpmyadmin alreay exist!" +fi + endTime=`date +%s` ((outTime=(${endTime}-${startTime})/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"