2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 16:10:59 +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

@@ -4,7 +4,7 @@ var (
Name = "MySQL-5.7"
Description = "MySQL 是最流行的关系型数据库管理系统之一Oracle 旗下产品。"
Slug = "mysql57"
Version = "5.7.43"
Version = "5.7.44"
Requires = []string{}
Excludes = []string{"mysql80"}
Install = `bash /www/panel/scripts/mysql/install.sh 57`

View File

@@ -4,7 +4,7 @@ var (
Name = "MySQL-8.0"
Description = "MySQL 是最流行的关系型数据库管理系统之一Oracle 旗下产品。(内存 < 4G 无法安装)"
Slug = "mysql80"
Version = "8.0.34"
Version = "8.0.35"
Requires = []string{}
Excludes = []string{"mysql57"}
Install = `bash /www/panel/scripts/mysql/install.sh 80`

View File

@@ -4,7 +4,7 @@ var (
Name = "OpenResty"
Description = "OpenResty® 是一款基于 NGINX 和 LuaJIT 的 Web 平台。"
Slug = "openresty"
Version = "1.21.4.2"
Version = "1.21.4.3"
Requires = []string{}
Excludes = []string{}
Install = "bash /www/panel/scripts/openresty/install.sh"

View File

@@ -4,7 +4,7 @@ var (
Name = "PHP-8.1"
Description = "PHP 是世界上最好的语言!"
Slug = "php81"
Version = "8.1.23"
Version = "8.1.25"
Requires = []string{}
Excludes = []string{}
Install = `bash /www/panel/scripts/php/install.sh 81`

View File

@@ -4,7 +4,7 @@ var (
Name = "PHP-8.2"
Description = "PHP 是世界上最好的语言!"
Slug = "php82"
Version = "8.2.10"
Version = "8.2.12"
Requires = []string{}
Excludes = []string{}
Install = `bash /www/panel/scripts/php/install.sh 82`

View File

@@ -4,7 +4,7 @@ var (
Name = "PostgreSQL-15"
Description = "PostgreSQL 是世界上最先进的开源关系数据库,在类似 BSD 与 MIT 许可的 PostgreSQL 许可下发行。"
Slug = "postgresql15"
Version = "15.4"
Version = "15.5"
Requires = []string{}
Excludes = []string{"postgresql16"}
Install = `bash /www/panel/scripts/postgresql/install.sh 15`

View File

@@ -4,7 +4,7 @@ var (
Name = "PostgreSQL-16"
Description = "PostgreSQL 是世界上最先进的开源关系数据库,在类似 BSD 与 MIT 许可的 PostgreSQL 许可下发行。"
Slug = "postgresql16"
Version = "16.0"
Version = "16.1"
Requires = []string{}
Excludes = []string{"postgresql15"}
Install = `bash /www/panel/scripts/postgresql/install.sh 16`

View File

@@ -4,7 +4,7 @@ var (
Name = "Redis"
Description = "Redis 是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库并提供多种语言的API。"
Slug = "redis"
Version = "7.0.12"
Version = "7.2.3"
Requires = []string{}
Excludes = []string{}
Install = `bash /www/panel/scripts/redis/install.sh`

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)
# 准备目录