diff --git a/cli.sh b/cli.sh index 14454a80e..52c5393d6 100755 --- a/cli.sh +++ b/cli.sh @@ -11,7 +11,7 @@ mw_start(){ mw_start_debug(){ gunicorn -b :7200 app:app & - python task.py & + python task.py } mw_stop() diff --git a/plugins/mysql/versions/5.5/install.sh b/plugins/mysql/versions/5.5/install.sh index 88e6a1353..fe063f001 100755 --- a/plugins/mysql/versions/5.5/install.sh +++ b/plugins/mysql/versions/5.5/install.sh @@ -9,25 +9,24 @@ serverPath=$(dirname "$rootPath") install_tmp=${rootPath}/tmp/bt_install.pl -openrestyDir=${serverPath}/source/openresty +mysqlDir=${serverPath}/source/mysql Install_mysql() { - mkdir -p ${openrestyDir} + mkdir -p ${mysqlDir} echo '正在安装脚本文件...' > $install_tmp - if [ ! -f ${openrestyDir}/openresty-1.11.2.5.tar.gz ];then - wget -O ${openrestyDir}/openresty-1.11.2.5.tar.gz https://openresty.org/download/openresty-1.11.2.5.tar.gz + if [ ! -f ${mysqlDir}/mysql-5.5.62.tar.gz ];then + wget -O ${mysqlDir}/mysql-5.5.62.tar.gz https://github.com/mysql/mysql-server/archive/mysql-5.5.62.tar.gz fi - cd ${openrestyDir} && tar -zxvf openresty-1.11.2.5.tar.gz + cd ${mysqlDir} && tar -zxvf mysql-5.5.62.tar.gz - cd ${openrestyDir}/openresty-1.11.2.5 && ./configure --prefix=$serverPath/openresty \ - --with-openssl=$serverPath/source/lib/openssl-1.0.2q \ - --with-http_stub_status_module && make && make install && \ - echo '1.11.2' > $serverPath/openresty/version.pl - + # cd ${mysqlDir}/mysql-5.5.62 && ./configure --prefix=$serverPath/mysql \ + # --with-openssl=$serverPath/source/lib/openssl-1.0.2q \ + # --with-http_stub_status_module && make && make install && \ + echo '5.5' > $serverPath/mysql/version.pl echo '安装完成' > $install_tmp }