diff --git a/README.md b/README.md index 473dbd5c..d71e582f 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ CentOS Stream 可使用迁移脚本迁移至支持的系统: [CentOS 8/9 迁移 如果你决定继续,请以`root`用户登录服务器,执行以下命令安装面板: ```shell -bash <(curl -sSL https://dl.cdn.haozi.net/panel/install_panel.sh) +bash <(curl -sSL https://jihulab.com/haozi-team/download/-/raw/main/panel/install_panel.sh) ``` ## 卸载面板 @@ -58,7 +58,7 @@ bash <(curl -sSL https://dl.cdn.haozi.net/panel/install_panel.sh) 如果你无法重装系统,请以`root`用户登录服务器,执行以下命令卸载面板: ```shell -bash <(curl -sSL https://dl.cdn.haozi.net/panel/uninstall_panel.sh) +bash <(curl -sSL https://jihulab.com/haozi-team/download/-/raw/main/panel/uninstall_panel.sh) ``` 卸载面板前请务必备份好所有数据,提前卸载面板全部插件。卸载后数据将**无法恢复**! diff --git a/README_EN.md b/README_EN.md index 02285c85..3fe129c2 100644 --- a/README_EN.md +++ b/README_EN.md @@ -48,7 +48,7 @@ Before installing the panel, you need to understand the basic knowledge of the L If you decide to continue, please log in to the server as `root` user and execute the following command to install the panel: ```shell -bash <(curl -sSL https://dl.cdn.haozi.net/panel/install_panel.sh) +bash <(curl -sSL https://jihulab.com/haozi-team/download/-/raw/main/panel/install_panel.sh) ``` ## Uninstall Panel @@ -58,7 +58,7 @@ Recommended to back up data and reinstall the system first, so that the system c If you are unable to reinstall the system, log in to the server as the `root` user and execute the following command to uninstall the panel: ```shell -bash <(curl -sSL https://dl.cdn.haozi.net/panel/uninstall_panel.sh) +bash <(curl -sSL https://jihulab.com/haozi-team/download/-/raw/main/panel/uninstall_panel.sh) ``` Before uninstalling the panel, please be sure to back up all data and uninstall all panel plugins in advance. The data will **not be recoverable** after uninstallation! diff --git a/scripts/mysql/install.sh b/scripts/mysql/install.sh index d292f1ae..0db766b4 100644 --- a/scripts/mysql/install.sh +++ b/scripts/mysql/install.sh @@ -21,7 +21,7 @@ HR="+----------------------------------------------------" ARCH=$(uname -m) memTotal=$(LC_ALL=C free -m | grep Mem | awk '{print $2}') OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/mysql" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/mysql" setupPath="/www" mysqlPath="${setupPath}/server/mysql" mysqlVersion="" diff --git a/scripts/mysql/update.sh b/scripts/mysql/update.sh index 5ebf0950..62973a3a 100644 --- a/scripts/mysql/update.sh +++ b/scripts/mysql/update.sh @@ -21,7 +21,7 @@ HR="+----------------------------------------------------" ARCH=$(uname -m) memTotal=$(LC_ALL=C free -m | grep Mem | awk '{print $2}') OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/mysql" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/mysql" setupPath="/www" mysqlPath="${setupPath}/server/mysql" mysqlVersion="" diff --git a/scripts/openresty/install.sh b/scripts/openresty/install.sh index 4442b6db..bd56b366 100644 --- a/scripts/openresty/install.sh +++ b/scripts/openresty/install.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/openresty" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/openresty" setupPath="/www" openrestyPath="${setupPath}/server/openresty" openrestyVersion="1.21.4.2" diff --git a/scripts/php/install.sh b/scripts/php/install.sh index f0077fb1..e4871768 100644 --- a/scripts/php/install.sh +++ b/scripts/php/install.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/php" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/php" setupPath="/www" phpVersion="${1}" phpVersionCode="" diff --git a/scripts/php_extensions/imagick.sh b/scripts/php_extensions/imagick.sh index 035955bf..b8116d02 100644 --- a/scripts/php_extensions/imagick.sh +++ b/scripts/php_extensions/imagick.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/php_extensions" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/php_extensions" action="$1" phpVersion="$2" imagickVersion="3.7.0" diff --git a/scripts/php_extensions/ionCube Loader.sh b/scripts/php_extensions/ionCube Loader.sh index 103effe3..b0d2075b 100644 --- a/scripts/php_extensions/ionCube Loader.sh +++ b/scripts/php_extensions/ionCube Loader.sh @@ -19,7 +19,7 @@ limitations under the License. HR="+----------------------------------------------------" -downloadUrl="https://dl.cdn.haozi.net/panel/php_extensions" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/php_extensions" action="$1" phpVersion="$2" diff --git a/scripts/php_extensions/redis.sh b/scripts/php_extensions/redis.sh index c0871c44..62521e60 100644 --- a/scripts/php_extensions/redis.sh +++ b/scripts/php_extensions/redis.sh @@ -19,7 +19,7 @@ limitations under the License. HR="+----------------------------------------------------" -downloadUrl="https://dl.cdn.haozi.net/panel/php_extensions" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/php_extensions" action="$1" phpVersion="$2" phpredisVersion="5.3.7" diff --git a/scripts/phpmyadmin/install.sh b/scripts/phpmyadmin/install.sh index dc273ae6..0a080e9d 100644 --- a/scripts/phpmyadmin/install.sh +++ b/scripts/phpmyadmin/install.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/phpmyadmin" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/phpmyadmin" setupPath="/www" phpmyadminPath="${setupPath}/server/phpmyadmin" phpmyadminVersion="5.2.1" diff --git a/scripts/postgresql/install.sh b/scripts/postgresql/install.sh index 467a22a8..59037e84 100644 --- a/scripts/postgresql/install.sh +++ b/scripts/postgresql/install.sh @@ -21,7 +21,7 @@ HR="+----------------------------------------------------" ARCH=$(uname -m) memTotal=$(LC_ALL=C free -m | grep Mem | awk '{print $2}') OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/postgresql" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/postgresql" setupPath="/www" postgresqlPath="${setupPath}/server/postgresql" postgresqlVersion="" diff --git a/scripts/postgresql/update.sh b/scripts/postgresql/update.sh index e9ff84d6..40877d83 100644 --- a/scripts/postgresql/update.sh +++ b/scripts/postgresql/update.sh @@ -21,7 +21,7 @@ HR="+----------------------------------------------------" ARCH=$(uname -m) memTotal=$(LC_ALL=C free -m | grep Mem | awk '{print $2}') OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/postgresql" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/postgresql" setupPath="/www" postgresqlPath="${setupPath}/server/postgresql" postgresqlVersion="" diff --git a/scripts/pureftpd/install.sh b/scripts/pureftpd/install.sh index 244e9289..1265e3e3 100644 --- a/scripts/pureftpd/install.sh +++ b/scripts/pureftpd/install.sh @@ -19,7 +19,7 @@ limitations under the License. HR="+----------------------------------------------------" OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/pure-ftpd" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/pure-ftpd" setupPath="/www" pureftpdPath="${setupPath}/server/pure-ftpd" pureftpdVersion="1.0.50" diff --git a/scripts/pureftpd/update.sh b/scripts/pureftpd/update.sh index cc726531..2eb55f44 100644 --- a/scripts/pureftpd/update.sh +++ b/scripts/pureftpd/update.sh @@ -19,7 +19,7 @@ limitations under the License. HR="+----------------------------------------------------" OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/pure-ftpd" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/pure-ftpd" setupPath="/www" pureftpdPath="${setupPath}/server/pure-ftpd" pureftpdVersion="1.0.50" diff --git a/scripts/redis/install.sh b/scripts/redis/install.sh index 7760cd69..a42bd297 100644 --- a/scripts/redis/install.sh +++ b/scripts/redis/install.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/redis" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/redis" setupPath="/www" redisPath="${setupPath}/server/redis" redisVersion="7.0.12" diff --git a/scripts/redis/update.sh b/scripts/redis/update.sh index bbed13c2..24e88713 100644 --- a/scripts/redis/update.sh +++ b/scripts/redis/update.sh @@ -20,7 +20,7 @@ limitations under the License. HR="+----------------------------------------------------" ARCH=$(uname -m) OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || { [[ "$ID" == "centos" ]] || [[ "$ID" == "rhel" ]] || [[ "$ID" == "rocky" ]] || [[ "$ID" == "almalinux" ]] && echo "centos"; } || echo "unknown") -downloadUrl="https://dl.cdn.haozi.net/panel/redis" +downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/redis" setupPath="/www" redisPath="${setupPath}/server/redis" redisVersion="7.0.12"