2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 20:57:19 +08:00

feat: 更新一批软件

This commit is contained in:
耗子
2023-11-19 02:28:19 +08:00
parent fc9ca25a46
commit 4b4c2c4a0b
16 changed files with 21 additions and 21 deletions

View File

@@ -30,9 +30,9 @@ mysqlPassword=$(cat /dev/urandom | head -n 16 | md5sum | head -c 16)
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
if [[ "${1}" == "80" ]]; then
mysqlVersion="8.0.34"
mysqlVersion="8.0.35"
elif [[ "${1}" == "57" ]]; then
mysqlVersion="5.7.43"
mysqlVersion="5.7.44"
else
echo -e $HR
echo "错误:不支持的 MySQL 版本!"

View File

@@ -30,9 +30,9 @@ mysqlPassword=$(cat /dev/urandom | head -n 16 | md5sum | head -c 16)
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
if [[ "${1}" == "80" ]]; then
mysqlVersion="8.0.34"
mysqlVersion="8.0.35"
elif [[ "${1}" == "57" ]]; then
mysqlVersion="5.7.43"
mysqlVersion="5.7.44"
else
echo -e $HR
echo "错误:不支持的 MySQL 版本!"

View File

@@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/openresty"
setupPath="/www"
openrestyPath="${setupPath}/server/openresty"
openrestyVersion="1.21.4.2"
openrestyVersion="1.21.4.3"
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
# 安装依赖

View File

@@ -62,9 +62,9 @@ if [ "${phpVersion}" == "74" ]; then
elif [ "${phpVersion}" == "80" ]; then
phpVersionCode="8.0.30"
elif [ "${phpVersion}" == "81" ]; then
phpVersionCode="8.1.23"
phpVersionCode="8.1.25"
elif [ "${phpVersion}" == "82" ]; then
phpVersionCode="8.2.10"
phpVersionCode="8.2.12"
else
echo -e $HR
echo "错误PHP-${phpVersion}不支持,请检查版本号是否正确。"

View File

@@ -29,9 +29,9 @@ postgresqlVersion=""
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
if [[ "${1}" == "15" ]]; then
postgresqlVersion="15.4"
postgresqlVersion="15.5"
elif [[ "${1}" == "16" ]]; then
postgresqlVersion="16.0"
postgresqlVersion="16.1"
else
echo -e $HR
echo "错误:不支持的 PostgreSQL 版本!"

View File

@@ -29,9 +29,9 @@ postgresqlVersion=""
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
if [[ "${1}" == "15" ]]; then
postgresqlVersion="15.4"
postgresqlVersion="15.5"
elif [[ "${1}" == "16" ]]; then
postgresqlVersion="16.0"
postgresqlVersion="16.1"
else
echo -e $HR
echo "错误:不支持的 PostgreSQL 版本!"

View File

@@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/redis"
setupPath="/www"
redisPath="${setupPath}/server/redis"
redisVersion="7.0.12"
redisVersion="7.2.3"
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
if ! id -u "redis" > /dev/null 2>&1; then

View File

@@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
downloadUrl="https://jihulab.com/haozi-team/download/-/raw/main/panel/redis"
setupPath="/www"
redisPath="${setupPath}/server/redis"
redisVersion="7.0.12"
redisVersion="7.2.3"
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
# 准备目录