2023年6月8日
摘要: springBoot + redis. 程序隔一段时间会莫名其妙的报Redis的错误. 报错如下: org.springframework.data.redis.RedisSystemException: Redis exception; nested exception is io.lettuce 阅读全文
posted @ 2023-06-08 14:45 肖建锋 阅读(499) 评论(0) 推荐(0) 编辑
  2023年2月28日
摘要: You might encounter the “Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException” error while upgr 阅读全文
posted @ 2023-02-28 09:38 肖建锋 阅读(64) 评论(0) 推荐(0) 编辑
  2023年2月16日
摘要: @echo off echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language] for /f %%i in ('"REG QUERY "HKEY_CURREN 阅读全文
posted @ 2023-02-16 17:02 肖建锋 阅读(26) 评论(0) 推荐(0) 编辑
  2022年11月21日
摘要: 错误信息1: kubectl get pods 发现pod状态一直在 runing-error-CrashLoopBackOff -循环 解决方法:1,查看日志。 kubectl logs pods web-674477549d-zx8gmkubectl describe pods web-6744 阅读全文
posted @ 2022-11-21 13:31 肖建锋 阅读(226) 评论(0) 推荐(0) 编辑
  2022年10月20日
摘要: 主节点删除node kubectl delete node k8s005 在node节点重置环境 kubeadm reset -y yum remove kubectl kubeadm kubectl -y 阅读全文
posted @ 2022-10-20 11:48 肖建锋 阅读(33) 评论(0) 推荐(0) 编辑
  2022年9月26日
摘要: 管理员模式打开CMD,然后输入下面这行代码: taskkill /F /im NahimicSvc64.exe 阅读全文
posted @ 2022-09-26 11:50 肖建锋 阅读(206) 评论(0) 推荐(0) 编辑
  2022年7月22日
摘要: docker system prune命令可以用于清理磁盘,删除关闭的容器、无用的数据卷和网络,以及dangling镜像(即无tag的镜像)。 docker system prune -a命令清理得更加彻底,可以将没有容器使用Docker镜像都删掉。注意,这两个命令会把你暂时关闭的容器,以及暂时没有 阅读全文
posted @ 2022-07-22 17:12 肖建锋 阅读(48) 评论(0) 推荐(1) 编辑
  2022年6月30日
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>页面添加水印</title> <script src="https://s3.pstatp.com/cdn/expire-1-M/jquery/3.3.1/jq 阅读全文
posted @ 2022-06-30 09:25 肖建锋 阅读(171) 评论(0) 推荐(0) 编辑
  2022年6月10日
摘要: 聚合的两种排序方式 1. 按组内字段排序: 分组后按组内数据某个字段进行排序 2. 按聚合后指标排序: 分组聚合后按照聚合后的某个新指标字段进行排序 案例: 按组内字段排序 AggregationBuilder aggregation = AggregationBuilders .terms("ag 阅读全文
posted @ 2022-06-10 16:58 肖建锋 阅读(561) 评论(0) 推荐(0) 编辑
  2022年6月6日
摘要: 现在公司内外配置nexus, 前端开发尽量使用公司私服, 减少构建时间。 npm install -g cnpm --registry=https://registry.npmmirror.com npm config set registry https://registry.npmmirror. 阅读全文
posted @ 2022-06-06 18:01 肖建锋 阅读(277) 评论(0) 推荐(0) 编辑