自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 sql语句快速批量修改表字段 decimal 的初始值 为 0

sql语句快速批量修改表字段 decimal 的初始值 为 0

2022-11-16 10:34:04 714 1

原创 tomcat和undertow增加端口监听

tomcat和undertow增加端口监听(springboot环境下)下面是undertow:import org.springframework.beans.factory.annotation.Value;import org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory;import org.springframework.context.annotation.Bean;import

2021-11-02 14:22:21 389

原创 记录一下编译spring源码,顺便有问题的可以问我

spring:5.2xidea:2020.2.3gradle:5.6.4

2021-08-09 22:43:19 135

原创 解决touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied

运行:docker run -d -e TZ="Asia/Shanghai" -p 28080:8080 -p 50000:50000 --name jenkins -it --privileged=true -v /var/jenkins_home:/var/jenkins_home jenkins/jenkins显示报错:touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission deniedC

2021-05-17 09:57:53 3472 6

原创 同一个实例注册到两个eureka上面

同一个实例注册到两个eureka上面你使用了两个Eureka互相注册,如果你对Eureka的底层了解一些的话,你会发现其实它和Zookeeper是很像的东西,都是用来做服务注册的,而你注册了两个Eureka,让他们互相注册,实际上这就起到了一种备份容灾的效果,他们之间通过一个叫做Bus的消息总线来传播信息,当你向一个Eureka上注册服务后,他们之间的数据就会互通,这就是为什么你会在另外一个Eureka上看到你的那个服务的原因。...

2021-04-20 10:09:41 1614

原创 k8s怎么暴力删除命名空间

k8s怎么暴力删除命名空间:原文地址:https://www.openshift.com/blog/the-hidden-dangers-of-terminating-namespaces操作命令:kubectl get namespace (获取处于Terminating状态的命名空间的name 例如:ingress-nginx)kubectl get namespace ingress-nginx > tmp.json(注意:ingress-nginx是命名空间的名字,取自己的命名空间

2021-01-27 21:24:54 486

原创 Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUs

错误:Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: ERR You are not authorized to run this command; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR You are not auth

2020-12-16 14:38:28 1574

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除