mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update debug.sh
This commit is contained in:
@@ -14,14 +14,12 @@ fi
|
||||
# openresty
|
||||
if [ ! -d /www/server/openresty ];then
|
||||
cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4.1
|
||||
cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/openresty/index.py start
|
||||
fi
|
||||
|
||||
|
||||
# php
|
||||
if [ ! -d /www/server/php/71 ];then
|
||||
cd /www/server/mdserver-web/plugins/php && bash install.sh install 71
|
||||
cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/php/index.py start 71
|
||||
fi
|
||||
|
||||
|
||||
@@ -31,7 +29,6 @@ PHP_VER_LIST=(53 54 55 56 71 72 73 74 80 81)
|
||||
for PHP_VER in ${PHP_VER_LIST[@]}; do
|
||||
echo "php${PHP_VER} -- start"
|
||||
cd /www/server/mdserver-web/plugins/php && bash install.sh install ${PHP_VER}
|
||||
cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/php/index.py start ${PHP_VER}
|
||||
echo "php${PHP_VER} -- end"
|
||||
done
|
||||
|
||||
@@ -45,7 +42,6 @@ if [ ! -d /www/server/mysql ];then
|
||||
# cd /www/server/mdserver-web/plugins/mysql && bash install.sh install 5.6
|
||||
# cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mysql/index.py start 5.6
|
||||
cd /www/server/mdserver-web/plugins/mysql && bash install.sh install 8.0
|
||||
cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mysql/index.py start 8.0
|
||||
fi
|
||||
|
||||
endTime=`date +%s`
|
||||
|
||||
Reference in New Issue
Block a user