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!"