mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
feat: 更新一批软件
This commit is contained in:
@@ -4,7 +4,7 @@ var (
|
||||
Name = "MySQL-8.0"
|
||||
Description = "MySQL 是最流行的关系型数据库管理系统之一,Oracle 旗下产品。(建议内存 > 2G 安装)"
|
||||
Slug = "mysql80"
|
||||
Version = "8.0.35"
|
||||
Version = "8.0.36"
|
||||
Requires = []string{}
|
||||
Excludes = []string{"mysql57"}
|
||||
Install = `bash /www/panel/scripts/mysql/install.sh 80`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "PHP-8.1"
|
||||
Description = "PHP 是世界上最好的语言!"
|
||||
Slug = "php81"
|
||||
Version = "8.1.26"
|
||||
Version = "8.1.27"
|
||||
Requires = []string{}
|
||||
Excludes = []string{}
|
||||
Install = `bash /www/panel/scripts/php/install.sh 81`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "PHP-8.2"
|
||||
Description = "PHP 是世界上最好的语言!"
|
||||
Slug = "php82"
|
||||
Version = "8.2.13"
|
||||
Version = "8.2.16"
|
||||
Requires = []string{}
|
||||
Excludes = []string{}
|
||||
Install = `bash /www/panel/scripts/php/install.sh 82`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "PHP-8.3"
|
||||
Description = "PHP 是世界上最好的语言!"
|
||||
Slug = "php83"
|
||||
Version = "8.3.0"
|
||||
Version = "8.3.3"
|
||||
Requires = []string{}
|
||||
Excludes = []string{}
|
||||
Install = `bash /www/panel/scripts/php/install.sh 83`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "PostgreSQL-15"
|
||||
Description = "PostgreSQL 是世界上最先进的开源关系数据库,在类似 BSD 与 MIT 许可的 PostgreSQL 许可下发行。"
|
||||
Slug = "postgresql15"
|
||||
Version = "15.5"
|
||||
Version = "15.6"
|
||||
Requires = []string{}
|
||||
Excludes = []string{"postgresql16"}
|
||||
Install = `bash /www/panel/scripts/postgresql/install.sh 15`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "PostgreSQL-16"
|
||||
Description = "PostgreSQL 是世界上最先进的开源关系数据库,在类似 BSD 与 MIT 许可的 PostgreSQL 许可下发行。"
|
||||
Slug = "postgresql16"
|
||||
Version = "16.1"
|
||||
Version = "16.2"
|
||||
Requires = []string{}
|
||||
Excludes = []string{"postgresql15"}
|
||||
Install = `bash /www/panel/scripts/postgresql/install.sh 16`
|
||||
|
||||
@@ -4,7 +4,7 @@ var (
|
||||
Name = "Redis"
|
||||
Description = "Redis 是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。"
|
||||
Slug = "redis"
|
||||
Version = "7.2.3"
|
||||
Version = "7.2.4"
|
||||
Requires = []string{}
|
||||
Excludes = []string{}
|
||||
Install = `bash /www/panel/scripts/redis/install.sh`
|
||||
|
||||
@@ -32,7 +32,7 @@ source ${setupPath}/panel/scripts/calculate_j.sh
|
||||
j=$(calculate_j)
|
||||
|
||||
if [[ "${1}" == "80" ]]; then
|
||||
mysqlVersion="8.0.35"
|
||||
mysqlVersion="8.0.36"
|
||||
j=$(calculate_j2)
|
||||
elif [[ "${1}" == "57" ]]; then
|
||||
mysqlVersion="5.7.44"
|
||||
|
||||
@@ -33,7 +33,7 @@ source ${setupPath}/panel/scripts/calculate_j.sh
|
||||
j=$(calculate_j)
|
||||
|
||||
if [[ "${1}" == "80" ]]; then
|
||||
mysqlVersion="8.0.35"
|
||||
mysqlVersion="8.0.36"
|
||||
j=$(calculate_j2)
|
||||
elif [[ "${1}" == "57" ]]; then
|
||||
mysqlVersion="5.7.44"
|
||||
|
||||
@@ -25,7 +25,6 @@ downloadUrl="https://git.haozi.net/opensource/download/-/raw/main/panel/openrest
|
||||
setupPath="/www"
|
||||
openrestyPath="${setupPath}/server/openresty"
|
||||
openrestyVersion="1.25.3.1"
|
||||
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
|
||||
|
||||
source ${setupPath}/panel/scripts/calculate_j.sh
|
||||
j=$(calculate_j)
|
||||
|
||||
@@ -65,11 +65,11 @@ if [ "${phpVersion}" == "74" ]; then
|
||||
elif [ "${phpVersion}" == "80" ]; then
|
||||
phpVersionCode="8.0.30"
|
||||
elif [ "${phpVersion}" == "81" ]; then
|
||||
phpVersionCode="8.1.26"
|
||||
phpVersionCode="8.1.27"
|
||||
elif [ "${phpVersion}" == "82" ]; then
|
||||
phpVersionCode="8.2.13"
|
||||
phpVersionCode="8.2.16"
|
||||
elif [ "${phpVersion}" == "83" ]; then
|
||||
phpVersionCode="8.3.0"
|
||||
phpVersionCode="8.3.3"
|
||||
else
|
||||
echo -e $HR
|
||||
echo "错误:PHP-${phpVersion}不支持,请检查版本号是否正确。"
|
||||
|
||||
@@ -31,9 +31,9 @@ source ${setupPath}/panel/scripts/calculate_j.sh
|
||||
j=$(calculate_j)
|
||||
|
||||
if [[ "${1}" == "15" ]]; then
|
||||
postgresqlVersion="15.5"
|
||||
postgresqlVersion="15.6"
|
||||
elif [[ "${1}" == "16" ]]; then
|
||||
postgresqlVersion="16.1"
|
||||
postgresqlVersion="16.2"
|
||||
else
|
||||
echo -e $HR
|
||||
echo "错误:不支持的 PostgreSQL 版本!"
|
||||
|
||||
@@ -31,9 +31,9 @@ source ${setupPath}/panel/scripts/calculate_j.sh
|
||||
j=$(calculate_j)
|
||||
|
||||
if [[ "${1}" == "15" ]]; then
|
||||
postgresqlVersion="15.5"
|
||||
postgresqlVersion="15.6"
|
||||
elif [[ "${1}" == "16" ]]; then
|
||||
postgresqlVersion="16.1"
|
||||
postgresqlVersion="16.2"
|
||||
else
|
||||
echo -e $HR
|
||||
echo "错误:不支持的 PostgreSQL 版本!"
|
||||
|
||||
@@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
|
||||
downloadUrl="https://git.haozi.net/opensource/download/-/raw/main/panel/redis"
|
||||
setupPath="/www"
|
||||
redisPath="${setupPath}/server/redis"
|
||||
redisVersion="7.2.3"
|
||||
redisVersion="7.2.4"
|
||||
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
|
||||
|
||||
if ! id -u "redis" > /dev/null 2>&1; then
|
||||
|
||||
@@ -24,7 +24,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } ||
|
||||
downloadUrl="https://git.haozi.net/opensource/download/-/raw/main/panel/redis"
|
||||
setupPath="/www"
|
||||
redisPath="${setupPath}/server/redis"
|
||||
redisVersion="7.2.3"
|
||||
redisVersion="7.2.4"
|
||||
cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l)
|
||||
|
||||
# 读取信息
|
||||
|
||||
Reference in New Issue
Block a user