diff --git a/plugins/gitea/install.sh b/plugins/gitea/install.sh index 85d42c4e3..24e8f1241 100755 --- a/plugins/gitea/install.sh +++ b/plugins/gitea/install.sh @@ -62,7 +62,7 @@ Install_App() file_xz="${file}.xz" echo "wget -O $serverPath/source/gitea/$file_xz ${URL_DOWNLOAD}/gitea/${version}/${file_xz}" if [ ! -f $serverPath/source/gitea/$file_xz ];then - wget -O $serverPath/source/gitea/$file_xz ${URL_DOWNLOAD}/gitea/${version}/${file_xz} + wget --no-check-certificate -O $serverPath/source/gitea/$file_xz ${URL_DOWNLOAD}/gitea/${version}/${file_xz} fi cd $serverPath/source/gitea && xz -k -d $file_xz diff --git a/plugins/gogs/install.sh b/plugins/gogs/install.sh index 47a264866..371267366 100755 --- a/plugins/gogs/install.sh +++ b/plugins/gogs/install.sh @@ -53,7 +53,7 @@ Install_gogs() fi if [ ! -f $serverPath/source/gogs/$file ];then - wget -O $serverPath/source/gogs/$file ${GOGS_DOWNLOAD}/${version}/${file} + wget --no-check-certificate -O $serverPath/source/gogs/$file ${GOGS_DOWNLOAD}/${version}/${file} fi cd $serverPath/source/gogs && unzip -o $file -d gogs_${version} diff --git a/plugins/haproxy/versions/2.6/install.sh b/plugins/haproxy/versions/2.6/install.sh index 74ae7e193..2405b6c06 100755 --- a/plugins/haproxy/versions/2.6/install.sh +++ b/plugins/haproxy/versions/2.6/install.sh @@ -29,7 +29,7 @@ Install_App() if [ ! -f ${APP_DIR}/haproxy-${VERSION}.tar.gz ];then if [ $sysName == 'Darwin' ]; then - wget -O ${APP_DIR}/haproxy-${VERSION}.tar.gz https://www.haproxy.org/download/${MIN_VERSION}/src/haproxy-${VERSION}.tar.gz + wget --no-check-certificate -O ${APP_DIR}/haproxy-${VERSION}.tar.gz https://www.haproxy.org/download/${MIN_VERSION}/src/haproxy-${VERSION}.tar.gz else curl -sSLo ${APP_DIR}/haproxy-${VERSION}.tar.gz https://www.haproxy.org/download/${MIN_VERSION}/src/haproxy-${VERSION}.tar.gz fi diff --git a/plugins/memcached/install.sh b/plugins/memcached/install.sh index 79e12d40d..3801872a1 100755 --- a/plugins/memcached/install.sh +++ b/plugins/memcached/install.sh @@ -18,7 +18,7 @@ Install_mem(){ echo '正在安装脚本文件...' > $install_tmp if [ ! -f $serverPath/source/memcached.tar.gz ];then - wget -O $serverPath/source/memcached.tar.gz http://www.memcached.org/files/memcached-${VERSION}.tar.gz + wget --no-check-certificate -O $serverPath/source/memcached.tar.gz http://www.memcached.org/files/memcached-${VERSION}.tar.gz fi cd $serverPath/source && tar -zxvf memcached.tar.gz diff --git a/plugins/mysql-apt/versions/5.7/install.sh b/plugins/mysql-apt/versions/5.7/install.sh index 336eb5acb..76061832d 100755 --- a/plugins/mysql-apt/versions/5.7/install.sh +++ b/plugins/mysql-apt/versions/5.7/install.sh @@ -43,7 +43,7 @@ APT_INSTALL() mkdir -p $myDir mkdir -p $serverPath/mysql-apt/bin -wget -O ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar https://cdn.mysql.com/archives/mysql-5.7/mysql-server_${SUFFIX_NAME}.deb-bundle.tar +wget --no-check-certificate -O ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar https://cdn.mysql.com/archives/mysql-5.7/mysql-server_${SUFFIX_NAME}.deb-bundle.tar chmod +x ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar cd ${myDir} && tar vxf ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar diff --git a/plugins/mysql-apt/versions/8.0/install.sh b/plugins/mysql-apt/versions/8.0/install.sh index f7b89f274..c4cf4650e 100755 --- a/plugins/mysql-apt/versions/8.0/install.sh +++ b/plugins/mysql-apt/versions/8.0/install.sh @@ -35,7 +35,7 @@ APT_INSTALL() mkdir -p $myDir mkdir -p $serverPath/mysql-apt/bin -wget -O ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar https://cdn.mysql.com/archives/mysql-8.0/mysql-server_${SUFFIX_NAME}.deb-bundle.tar +wget --no-check-certificate -O ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar https://cdn.mysql.com/archives/mysql-8.0/mysql-server_${SUFFIX_NAME}.deb-bundle.tar chmod +x ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar cd ${myDir} && tar vxf ${myDir}/mysql-server_${SUFFIX_NAME}.deb-bundle.tar diff --git a/plugins/mysql-yum/versions/5.7/install.sh b/plugins/mysql-yum/versions/5.7/install.sh index c1c3fdbfe..272fccc72 100755 --- a/plugins/mysql-yum/versions/5.7/install.sh +++ b/plugins/mysql-yum/versions/5.7/install.sh @@ -52,7 +52,7 @@ YUM_INSTALL() ####### mkdir -p $myDir -wget -O $myDir/mysql-${SUFFIX_NAME}.rpm-bundle.tar https://cdn.mysql.com/archives/mysql-5.7/mysql-${SUFFIX_NAME}.rpm-bundle.tar +wget --no-check-certificate -O $myDir/mysql-${SUFFIX_NAME}.rpm-bundle.tar https://cdn.mysql.com/archives/mysql-5.7/mysql-${SUFFIX_NAME}.rpm-bundle.tar cd ${myDir} && tar vxf mysql-${SUFFIX_NAME}.rpm-bundle.tar mkdir -p ${serverPath}/mysql-yum/bin && cd ${serverPath}/mysql-yum/bin diff --git a/plugins/mysql-yum/versions/8.0/install.sh b/plugins/mysql-yum/versions/8.0/install.sh index 03c79fda2..ae71d8cd6 100755 --- a/plugins/mysql-yum/versions/8.0/install.sh +++ b/plugins/mysql-yum/versions/8.0/install.sh @@ -48,7 +48,7 @@ YUM_INSTALL() ####### mkdir -p $myDir -wget -O $myDir/mysql-${SUFFIX_NAME}.rpm-bundle.tar https://cdn.mysql.com/archives/mysql-8.0/mysql-${SUFFIX_NAME}.rpm-bundle.tar +wget --no-check-certificate -O $myDir/mysql-${SUFFIX_NAME}.rpm-bundle.tar https://cdn.mysql.com/archives/mysql-8.0/mysql-${SUFFIX_NAME}.rpm-bundle.tar cd ${myDir} && tar vxf mysql-${SUFFIX_NAME}.rpm-bundle.tar mkdir -p ${serverPath}/mysql-yum/bin && cd ${serverPath}/mysql-yum/bin diff --git a/plugins/mysql/lib/rpcgen.sh b/plugins/mysql/lib/rpcgen.sh index b00af73c2..9dcceff46 100644 --- a/plugins/mysql/lib/rpcgen.sh +++ b/plugins/mysql/lib/rpcgen.sh @@ -17,7 +17,7 @@ which rpcgen if [ "$?" != "0" ];then if [ ! -f ${SOURCE_ROOT}/rpcsvc-proto-1.4.tar.gz ];then - wget -O ${SOURCE_ROOT}/rpcsvc-proto-1.4.tar.gz https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz + wget --no-check-certificate -O ${SOURCE_ROOT}/rpcsvc-proto-1.4.tar.gz https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz fi if [ ! -d ${SERVER_ROOT}/rpcsvc-proto-1.4 ];then