From e648b88a7489358fd0d9adb70b02eaf040c078ee Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 18 Jun 2026 02:05:24 +0800 Subject: [PATCH 01/11] Update install.sh --- plugins/php/versions/72/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php/versions/72/install.sh b/plugins/php/versions/72/install.sh index 5b32cf2a9..a996d4f2f 100755 --- a/plugins/php/versions/72/install.sh +++ b/plugins/php/versions/72/install.sh @@ -145,9 +145,9 @@ if [ "${SYS_ARCH}" == "arm64" ];then RELOAD_CODE fi -if [ "${OSNAME}" == "debian" ] && [ "${VERSION_ID}" == "13" ];then - RELOAD_CODE -fi +# if [ "${OSNAME}" == "debian" ] && [ "${VERSION_ID}" == "13" ];then +# RELOAD_CODE +# fi if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` From 1c1cc12058481a53009ca34d69d91d3a99a523ab Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 18 Jun 2026 02:23:01 +0800 Subject: [PATCH 02/11] Update install.sh --- plugins/php/versions/72/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php/versions/72/install.sh b/plugins/php/versions/72/install.sh index a996d4f2f..5b32cf2a9 100755 --- a/plugins/php/versions/72/install.sh +++ b/plugins/php/versions/72/install.sh @@ -145,9 +145,9 @@ if [ "${SYS_ARCH}" == "arm64" ];then RELOAD_CODE fi -# if [ "${OSNAME}" == "debian" ] && [ "${VERSION_ID}" == "13" ];then -# RELOAD_CODE -# fi +if [ "${OSNAME}" == "debian" ] && [ "${VERSION_ID}" == "13" ];then + RELOAD_CODE +fi if [ "$sysName" == "Darwin" ];then BREW_DIR=`which brew` From 42e40d1718e8ba3958927138bc50a55374f2175f Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 18 Jun 2026 14:33:55 +0800 Subject: [PATCH 03/11] Update push_notice_msg.py --- plugins/tgbot/startup/extend/push_notice_msg.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/tgbot/startup/extend/push_notice_msg.py b/plugins/tgbot/startup/extend/push_notice_msg.py index 5b08b9020..a51ca06b9 100644 --- a/plugins/tgbot/startup/extend/push_notice_msg.py +++ b/plugins/tgbot/startup/extend/push_notice_msg.py @@ -56,14 +56,9 @@ def send_msg(bot, tag='ad', trigger_time=300): # 实名认证/过人脸🕵️‍♀️各种账号处理✅ | 30/m| next,6/30 | @nngzs # 18+资源采集| 4/m | next,7/14 | @liuxingyu123 - # 海内外实名KYC-执照代付✅域名| 17/m | next,6/17 | @kdgzs # 98影视采集| 21/m | next,11/21 | @liuxingyu123 keyboard = [ - [ - types.InlineKeyboardButton( - text="海内外实名KYC-执照代付✅域名", url='https://t.me/kuadugongzuoshi') - ], [ types.InlineKeyboardButton( text="高价收一切流量 @caifutong555", url='https://t.me/caifutong555') From 6376ed3b7bb573a13be61ef1090e9435f4ef752b Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:28:23 +0800 Subject: [PATCH 04/11] update --- plugins/openresty/install.sh | 2 +- plugins/openresty/versions/1.29.2/install.sh | 2 +- plugins/openresty/versions/1.31.1/install.sh | 228 +++++++++++++++++++ 3 files changed, 230 insertions(+), 2 deletions(-) create mode 100644 plugins/openresty/versions/1.31.1/install.sh diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index a0913ef9b..1fcc47e3f 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -5,7 +5,7 @@ export PATH # cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.29.2 # cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4 # cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 -# cd /www/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.29.2 +# cd /www/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.31.1 # curl -I -H "Accept-Encoding: br" http://localhost # curl -I -H "Accept-Encoding: zstd" http://localhost diff --git a/plugins/openresty/versions/1.29.2/install.sh b/plugins/openresty/versions/1.29.2/install.sh index 0a045ec3c..380197fd0 100644 --- a/plugins/openresty/versions/1.29.2/install.sh +++ b/plugins/openresty/versions/1.29.2/install.sh @@ -14,7 +14,7 @@ sysName=`uname` action=$1 type=$2 -VERSION=1.29.2.4 +VERSION=1.29.2.5 openrestyDir=${serverPath}/source/openresty diff --git a/plugins/openresty/versions/1.31.1/install.sh b/plugins/openresty/versions/1.31.1/install.sh new file mode 100644 index 000000000..5a23e8ce0 --- /dev/null +++ b/plugins/openresty/versions/1.31.1/install.sh @@ -0,0 +1,228 @@ +#!/bin/bash +PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin +export PATH + +# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 +# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 + +curPath=`pwd` +rootPath=$(dirname "$curPath") +rootPath=$(dirname "$rootPath") +serverPath=$(dirname "$rootPath") + +sysName=`uname` +action=$1 +type=$2 + +VERSION=1.31.1.1 + +openrestyDir=${serverPath}/source/openresty + +Install_openresty() +{ + if [ "${action}" == "install" ];then + if [ -d $serverPath/openresty ];then + exit 0 + fi + fi + + # ----- cpu start ------ + if [ -z "${cpuCore}" ]; then + cpuCore="1" + fi + + if [ -f /proc/cpuinfo ];then + cpuCore=`cat /proc/cpuinfo | grep "processor" | wc -l` + fi + + MEM_INFO=$(free -m|grep Mem|awk '{printf("%.f",($2)/1024)}') + if [ "${cpuCore}" != "1" ] && [ "${MEM_INFO}" != "0" ];then + if [ "${cpuCore}" -gt "${MEM_INFO}" ];then + cpuCore="${MEM_INFO}" + fi + else + cpuCore="1" + fi + + if [ "$cpuCore" -gt "2" ];then + cpuCore=`echo "$cpuCore" | awk '{printf("%.f",($1)*0.8)}'` + else + cpuCore="1" + fi + # ----- cpu end ------ + + mkdir -p ${openrestyDir} + echo '正在安装脚本文件...' + + # wget -O openresty-1.21.4.1.tar.gz https://openresty.org/download/openresty-1.21.4.1.tar.gz + if [ ! -f ${openrestyDir}/openresty-${VERSION}.tar.gz ];then + wget --no-check-certificate -O ${openrestyDir}/openresty-${VERSION}.tar.gz https://openresty.org/download/openresty-${VERSION}.tar.gz -T 3 + fi + + DOWNLOAD_SIZE=`wc -c ${openrestyDir}/openresty-${VERSION}.tar.gz | awk '{print $1}'` + if [ "$DOWNLOAD_SIZE" == "0" ];then + echo 'download failed, download again' + rm -rf ${openrestyDir}/openresty-${VERSION}.tar.gz + fi + + # Last Download Method + if [ ! -f ${openrestyDir}/openresty-${VERSION}.tar.gz ];then + wget --no-check-certificate -O ${openrestyDir}/openresty-${VERSION}.tar.gz http://dl.midoks.icu/soft/openresty/openresty-${VERSION}.tar.gz -T 3 + fi + + cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz + + OPTIONS='' + + opensslVersion="3.5.5" + libresslVersion="3.9.1" + pcreVersion='8.45' + if [ "$sysName" == "Darwin" ];then + + if [ ! -f ${openrestyDir}/pcre-${pcreVersion}.tar.gz ];then + wget --no-check-certificate -O ${openrestyDir}/pcre-${pcreVersion}.tar.gz https://netix.dl.sourceforge.net/project/pcre/pcre/${pcreVersion}/pcre-${pcreVersion}.tar.gz + fi + + if [ ! -d ${openrestyDir}/pcre-${pcreVersion} ];then + cd ${openrestyDir} && tar -zxvf pcre-${pcreVersion}.tar.gz + fi + OPTIONS="${OPTIONS} --with-pcre=${openrestyDir}/pcre-${pcreVersion}" + + + if [ ! -f ${openrestyDir}/openssl-${opensslVersion}.tar.gz ];then + wget --no-check-certificate -O ${openrestyDir}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz + fi + + if [ ! -d ${openrestyDir}/openssl-${opensslVersion} ];then + cd ${openrestyDir} && tar -zxvf openssl-${opensslVersion}.tar.gz + fi + OPTIONS="${OPTIONS} --with-openssl=${openrestyDir}/openssl-${opensslVersion}" + + # BREW_DIR=`which brew` + # BREW_DIR=${BREW_DIR/\/bin\/brew/} + + # brew info openssl@1.1 | grep /opt/homebrew/Cellar/openssl@1.1 | cut -d \ -f 1 | awk 'END {print}' + # OPENSSL_LIB_DEPEND_DIR=`brew info openssl@1.1 | grep ${BREW_DIR}/Cellar/openssl@1.1 | cut -d \ -f 1 | awk 'END {print}'` + # OPTIONS="${OPTIONS} --with-openssl=${OPENSSL_LIB_DEPEND_DIR}" + else + if [ ! -f ${openrestyDir}/openssl-${opensslVersion}.tar.gz ];then + wget --no-check-certificate -O ${openrestyDir}/openssl-${opensslVersion}.tar.gz https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz + fi + + if [ ! -d ${openrestyDir}/openssl-${opensslVersion} ];then + cd ${openrestyDir} && tar -zxvf openssl-${opensslVersion}.tar.gz + fi + OPTIONS="${OPTIONS} --with-openssl=${openrestyDir}/openssl-${opensslVersion}" + + fi + + if [[ "$VERSION" =~ "1.29.2" ]];then + OPTIONS="${OPTIONS} --with-http_v3_module" + + # if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then + # wget --no-check-certificate -O ${openrestyDir}/libressl-${libresslVersion}.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${libresslVersion}.tar.gz + # fi + + # if [ ! -d ${openrestyDir}/libressl-${libresslVersion} ];then + # cd ${openrestyDir} && tar -zxvf libressl-${libresslVersion}.tar.gz + # fi + + # OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/include" + # OPTIONS="${OPTIONS} --with-cc-opt=-I${openrestyDir}/libressl-${libresslVersion}/libressl/build/lib" + fi + + # br + if [ ! -d ${openrestyDir}/ngx_brotli ];then + cd ${openrestyDir} && git clone https://github.com/wxx9248/ngx_brotli.git + cd ${openrestyDir}/ngx_brotli && git submodule update --init + + OPTIONS="${OPTIONS} --add-module=${openrestyDir}/ngx_brotli" + fi + + OPTIONS="${OPTIONS} --with-threads" + OPTIONS="${OPTIONS} --with-pcre-jit" + OPTIONS="${OPTIONS} --with-http_gzip_static_module" + + if [ "$sysName" != "Darwin" ];then + OPTIONS="${OPTIONS} --with-file-aio" + fi + + #zstd + if [ ! -d ${openrestyDir}/zstd-nginx-module-master ];then + cd ${openrestyDir} && wget -O $openrestyDir/zstd-nginx-module.tar.gz https://github.com/tokers/zstd-nginx-module/archive/refs/heads/master.tar.gz + cd ${openrestyDir} && tar -zxvf zstd-nginx-module.tar.gz + + if [ "$sysName" == "Darwin" ];then + export ZSTD_INC=/opt/homebrew/include + export ZSTD_LIB=/opt/homebrew/lib + fi + + pkg-config --exists --print-errors libzstd + if [ "$?" == "0" ];then + OPTIONS="${OPTIONS} --add-module=${openrestyDir}/zstd-nginx-module-master" + fi + fi + + + + cd ${openrestyDir}/openresty-${VERSION} && ./configure \ + --prefix=$serverPath/openresty \ + $OPTIONS \ + --with-stream \ + --with-http_v2_module \ + --with-http_ssl_module \ + --with-http_slice_module \ + --with-http_stub_status_module \ + --with-http_sub_module \ + --with-http_realip_module + # --without-luajit-gc64 + # --with-debug + # 用于调式 + + CMD_MAKE=`which gmake` + if [ "$?" == "0" ];then + gmake -j${cpuCore} && gmake install && gmake clean + else + make -j${cpuCore} && make install && make clean + fi + + + if [ -d ${openrestyDir}/pcre-${pcreVersion} ];then + rm -rf ${openrestyDir}/pcre-${pcreVersion} + fi + + if [ -d ${openrestyDir}/openssl-${opensslVersion} ];then + rm -rf ${openrestyDir}/openssl-${opensslVersion} + fi + + if [ -d ${openrestyDir}/libressl-${libresslVersion} ];then + rm -rf ${openrestyDir}/libressl-${libresslVersion} + fi + + if [ -d $openrestyDir/openresty-${VERSION} ];then + rm -rf $openrestyDir/openresty-${VERSION} + fi + + # if [ -d $openrestyDir/zstd-nginx-module-master ];then + # rm -rf $openrestyDir/zstd-nginx-module-master + # fi + + # if [ -d $openrestyDir/ngx_brotli ];then + # rm -rf $openrestyDir/ngx_brotli + # fi + echo 'Installation of Openresty completed' +} + +Uninstall_openresty() +{ + echo 'Uninstalling Openresty completed' +} + +action=$1 +if [ "${1}" == "install" ];then + Install_openresty +elif [ "${1}" == "upgrade" ];then + Install_openresty +else + Uninstall_openresty +fi From 862b434c72f99b6a2574be2da62a9ac3f764deab Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:29:10 +0800 Subject: [PATCH 05/11] Update install.sh --- plugins/openresty/versions/rtmp/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/openresty/versions/rtmp/install.sh b/plugins/openresty/versions/rtmp/install.sh index dc21c570d..eb8848b70 100644 --- a/plugins/openresty/versions/rtmp/install.sh +++ b/plugins/openresty/versions/rtmp/install.sh @@ -2,8 +2,8 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin export PATH -# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.27.1.1 -# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.27.1.1 +# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install rtmp +# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install rtmp curPath=`pwd` rootPath=$(dirname "$curPath") @@ -14,7 +14,7 @@ sysName=`uname` action=$1 type=$2 -VERSION=1.27.1.2 +VERSION=1.29.2.5 openrestyDir=${serverPath}/source/openresty From ecbeca3d3552e494702c56ec4241ec6c84422c7c Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:29:40 +0800 Subject: [PATCH 06/11] Update install.sh --- plugins/openresty/versions/1.31.1/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openresty/versions/1.31.1/install.sh b/plugins/openresty/versions/1.31.1/install.sh index 5a23e8ce0..bdc7d51fc 100644 --- a/plugins/openresty/versions/1.31.1/install.sh +++ b/plugins/openresty/versions/1.31.1/install.sh @@ -2,8 +2,8 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin export PATH -# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 -# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 +# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh install 1.31.1 +# cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.31.1 curPath=`pwd` rootPath=$(dirname "$curPath") From 325321f5d44c3cbef1e3fef8ca8ac32a774d6971 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:32:38 +0800 Subject: [PATCH 07/11] Update install.sh --- plugins/openresty/versions/1.31.1/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openresty/versions/1.31.1/install.sh b/plugins/openresty/versions/1.31.1/install.sh index bdc7d51fc..9ee3e57e2 100644 --- a/plugins/openresty/versions/1.31.1/install.sh +++ b/plugins/openresty/versions/1.31.1/install.sh @@ -116,7 +116,7 @@ Install_openresty() fi - if [[ "$VERSION" =~ "1.29.2" ]];then + if [[ "$VERSION" =~ "1.31.1" ]];then OPTIONS="${OPTIONS} --with-http_v3_module" # if [ ! -f ${openrestyDir}/libressl-${libresslVersion}.tar.gz ];then From 47ddf5f4e6957fff1afdc1062ef844a6bc8f5525 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:40:58 +0800 Subject: [PATCH 08/11] Update install.sh --- plugins/memcached/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/memcached/install.sh b/plugins/memcached/install.sh index fef20da40..12f7ed945 100755 --- a/plugins/memcached/install.sh +++ b/plugins/memcached/install.sh @@ -8,7 +8,7 @@ rootPath=$(dirname "$rootPath") serverPath=$(dirname "$rootPath") sys_os=`uname` -VERSION=1.6.39 +VERSION=1.6.42 echo $sys_os From 084cf6b7610862d6f64fe3715992bc58f899583b Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 14:42:54 +0800 Subject: [PATCH 09/11] Update info.json --- plugins/redis/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/redis/info.json b/plugins/redis/info.json index d7e6fec75..319ba9a51 100755 --- a/plugins/redis/info.json +++ b/plugins/redis/info.json @@ -4,14 +4,14 @@ "name": "redis", "title": "Redis", "shell": "install.sh", - "versions":["4.0.14","5.0.14","6.0.20","6.2.22","7.0.15","7.2.14", "7.4.9", "8.0.6", "8.2.6", "8.4.3","8.6.3"], + "versions":["4.0.14","5.0.14","6.0.20","6.2.22","7.0.15","7.2.14", "7.4.9", "8.0.6", "8.2.7", "8.4.4","8.6.4","8.8.0"], "tip": "soft", "checks": "server/redis", "path": "server/redis", "display": 1, "author": "redis", "date": "2017-04-01", - "home": "https://redis.io", + "home": "https://download.redis.io/releases", "type": 0, "pid": "2" } From 18e93d2b249cc07738d55b1f7cfa477e30b83978 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 15:13:08 +0800 Subject: [PATCH 10/11] Update info.json --- plugins/openresty/info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openresty/info.json b/plugins/openresty/info.json index d0893632e..4e462f8c3 100755 --- a/plugins/openresty/info.json +++ b/plugins/openresty/info.json @@ -13,6 +13,6 @@ "home":"http://openresty.org", "date":"2017-11-24", "pid": "1", - "versions": ["1.17.8","1.19.3","1.21.4","1.25.3","1.27.1","1.29.2","rtmp"], + "versions": ["1.17.8","1.19.3","1.21.4","1.25.3","1.27.1","1.29.2","1.31.1","rtmp"], "updates": ["1.17.8.2","1.19.3.1","1.21.4.2","1.25.3.2"] } \ No newline at end of file From 241c4dc60043996979a982a72beb72aa5dd0d304 Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 20 Jun 2026 15:24:32 +0800 Subject: [PATCH 11/11] Update install.sh --- plugins/openresty/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index 1fcc47e3f..9b6e79ffe 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -2,7 +2,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin:/opt/homebrew/bin export PATH -# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.29.2 +# cd /Users/midoks/Desktop/mwdev/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.31.1 # cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.21.4 # cd /www/server/mdserver-web/plugins/openresty && bash install.sh install 1.29.2 # cd /www/server/mdserver-web/plugins/openresty && bash install.sh upgrade 1.31.1