摘要:
功能概述 实现Spring Boot项目在本地开发、测试环境和生产环境无缝切换Redis模式,通过统一配置体系适配不同部署场景。 核心代码实现 1. Redisson多模式配置类 package com.aspire.datasynchron.framework.config; import com 阅读全文
posted @ 2025-04-25 15:20
ghostmen
阅读(545)
评论(0)
推荐(0)
摘要:
MySql 版本:8.0.40 服务器:10.120.75.50,10.120.75.51(共两台) 1. 配置主服务器(10.120.75.50) 1.1 编辑 MySQL 配置文件 首先,登录到主服务器,编辑 MySQL 配置文件(通常位于 /etc/my.cnf 或 /etc/mysql/my 阅读全文
posted @ 2025-04-25 15:04
ghostmen
阅读(352)
评论(0)
推荐(2)
摘要:
参考链接:https://blog.csdn.net/wcblog/article/details/142878308 在本文中,我们将详细介绍在 CentOS 7 上[安装 Redis](https://so.csdn.net/so/search?q=安装 Redis&spm=1001.2101. 阅读全文
posted @ 2025-04-25 11:24
ghostmen
阅读(1133)
评论(0)
推荐(0)
摘要:
环境要求 组件 版本 JDK 17 Maven 3.9.4 Ruoyi 3.8.9 一、Redisson集群配置优化 1.1 配置类修改说明 package com.aspire.datasynchron.framework.config; import lombok.extern.slf4j.Sl 阅读全文
posted @ 2025-04-25 10:45
ghostmen
阅读(546)
评论(0)
推荐(0)
摘要:
1. 更新系统包 sudo yum update -y 2. 安装 OpenJDK 17 CentOS 7/8 或 RHEL 7/8/9 sudo yum install -y java-17-openjdk-devel 如果默认仓库中没有 OpenJDK 17 启用 EPEL 仓库(CentOS 阅读全文
posted @ 2025-04-25 10:41
ghostmen
阅读(1626)
评论(0)
推荐(0)

浙公网安备 33010602011771号