Skip to content

Commit

Permalink
feat: 更新一批软件
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Nov 18, 2023
1 parent fc9ca25 commit 4b4c2c4
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion app/plugins/mysql57/mysql57.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/mysql80/mysql80.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/openresty/openresty.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/php81/php81.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/php82/php82.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/postgresql15/postgresql15.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/postgresql16/postgresql16.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion app/plugins/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 2 additions & 2 deletions scripts/mysql/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 版本!"
Expand Down
4 changes: 2 additions & 2 deletions scripts/mysql/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 版本!"
Expand Down
2 changes: 1 addition & 1 deletion scripts/openresty/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

# 安装依赖
Expand Down
4 changes: 2 additions & 2 deletions scripts/php/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}不支持,请检查版本号是否正确。"
Expand Down
4 changes: 2 additions & 2 deletions scripts/postgresql/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 版本!"
Expand Down
4 changes: 2 additions & 2 deletions scripts/postgresql/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 版本!"
Expand Down
2 changes: 1 addition & 1 deletion scripts/redis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/redis/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

# 准备目录
Expand Down

0 comments on commit 4b4c2c4

Please sign in to comment.