Update debug.sh

pull/117/head
midoks 3 years ago
parent 5d320d12f9
commit 0fe70dea7c
  1. 4
      scripts/quick/debug.sh

@ -14,14 +14,12 @@ fi
# openresty # openresty
if [ ! -d /www/server/openresty ];then 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/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 fi
# php # php
if [ ! -d /www/server/php/71 ];then if [ ! -d /www/server/php/71 ];then
cd /www/server/mdserver-web/plugins/php && bash install.sh install 71 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 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 for PHP_VER in ${PHP_VER_LIST[@]}; do
echo "php${PHP_VER} -- start" echo "php${PHP_VER} -- start"
cd /www/server/mdserver-web/plugins/php && bash install.sh install ${PHP_VER} 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" echo "php${PHP_VER} -- end"
done 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/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 && 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/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 fi
endTime=`date +%s` endTime=`date +%s`

Loading…
Cancel
Save