• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
牛牛
牛牛在线
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2023年7月28日

k8s 按照文档
摘要: 一、环境准备两台服务器:1、master2、worker-node3、关闭防火墙:systemctl stop firewalldsystemctl disable firewalld4、关闭selinux sed -i 's/enforcing/disabled/' /etc/selinux/co 阅读全文
posted @ 2023-07-28 09:24 蜗牛无敌 阅读(36) 评论(0) 推荐(0)
 
 

2023年7月24日

尚硅谷 k8s 学习笔记
摘要: 原文地址:https://blog.csdn.net/qq_17079255/article/details/108916097?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefaul 阅读全文
posted @ 2023-07-24 17:18 蜗牛无敌 阅读(376) 评论(0) 推荐(0)
 
 

2023年7月23日

在尚硅谷学习docker 笔记
摘要: 尚硅谷docker学习笔记 1.docker简介(基础篇) 2.docker的安装 3.docker的常用命令 3.1帮助启动类命令 3.2镜像命令 3.3容器命令 4.对docker镜像的深入理解 4.1镜像的一些重要概念 4.2docker镜像commit操作案例 4.3本地镜像发布到阿里云/私 阅读全文
posted @ 2023-07-23 15:24 蜗牛无敌 阅读(1482) 评论(0) 推荐(0)
 
 

2023年7月20日

springboot i18n 国际化
摘要: 默认一: 1、配置 # 主Spring spring: messages: basename: i18n.rsltMessage,i18n.errorCodeMessage 2、多语言文件 在resources下 新建i18n文件夹 ,在在这个下面建立多语言: rsltMessage.propert 阅读全文
posted @ 2023-07-20 17:38 蜗牛无敌 阅读(132) 评论(0) 推荐(0)
 
 

2023年7月18日

springboot 全局异常处理类
摘要: 1、全局异常处理 import lombok.extern.slf4j.Slf4j; import org.slf4j.helpers.MessageFormatter; import org.springframework.beans.factory.annotation.Autowired; i 阅读全文
posted @ 2023-07-18 10:25 蜗牛无敌 阅读(39) 评论(0) 推荐(0)
 
 

2023年7月14日

springboot 使用caffeine 并监控本地缓存
摘要: 1、添加依赖 <dependency> <groupId>com.github.ben-manes.caffeine</groupId> <artifactId>caffeine</artifactId> </dependency> 2、添加配置 package com.example.demo.c 阅读全文
posted @ 2023-07-14 17:57 蜗牛无敌 阅读(962) 评论(0) 推荐(0)
 
springboot log4j2.xml 模板
摘要: <?xml version="1.0" encoding="utf-8"?> <configuration> <properties> <!-- 文件输出格式 --> <property name="PATTERN">%d{yyyy-MM-dd HH:mm:ss.SSS} |-%-5level [% 阅读全文
posted @ 2023-07-14 16:31 蜗牛无敌 阅读(167) 评论(0) 推荐(0)
 
 

2023年7月12日

springboot 自定义整合caffeine 本地缓存
摘要: 1、自定义缓存配置类 @Data @ConfigurationProperties(prefix = "page.cache") public class PageCacheProperties { private CaffeineConfigProperties caffeine = new Ca 阅读全文
posted @ 2023-07-12 14:03 蜗牛无敌 阅读(475) 评论(0) 推荐(0)
 
 

2023年7月11日

springboot 自定义参数转换器,把自定义字符串 转换成响应的对象
摘要: 1、定义参数转换器 并放入ios容器中 package com.example.demo.convert; import com.example.demo.domain.Phone; import org.springframework.core.convert.converter.Converte 阅读全文
posted @ 2023-07-11 09:26 蜗牛无敌 阅读(337) 评论(0) 推荐(0)
 
 

2023年7月10日

springboot 使用filter 增加全局 traceId,方便日志查找
摘要: 1、编写过滤器 package com.example.demo.filter; import org.slf4j.MDC; import org.springframework.util.StringUtils; import javax.servlet.*; import javax.servl 阅读全文
posted @ 2023-07-10 10:44 蜗牛无敌 阅读(590) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3