自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 问答 (5)
  • 收藏
  • 关注

原创 Kibana should not be run as root

1、可以在启动时增加参数 --allow-root2、docker-compose 中添加entrypoint: ["./bin/kibana", "--allow-root"] 链接如下:Running Kibana in Docker image gives Non-Root error - Stack Overflow

2022-03-21 13:51:52 2652

原创 Mysql的事务的实现原理

https://www.cnblogs.com/wyc1994666/p/11367051.html

2020-11-30 20:17:24 161

原创 JVM实用参数系列

http://ifeve.com/useful-jvm-flags/

2020-11-30 19:33:08 169

原创 spring boot、docker中文乱码

现象:采用jenkins+k8s+docker部署服务,web服务收到POST内容后,存储中文乱码,后打印log也乱码,确定服务用的是iso-8859-1编码集,手动设置发送、接收为utf-8也不行,设置配置文件也不行,设置WebMvcConfigurerAdapter为utf-8也不行。解决:发现是docker image用的有问题,换一个image就好了,以上解决都不要...

2019-11-15 10:11:47 2196

转载 spring boot 多文件上传,OpenFeign文件传输

1、spring boot多文件传输与bean一起传输使用@RequestPart可以看一下 这位老哥的方法很优雅(1)spring 部分代码是直接搬的@PostMapping("upload")public ImageInfo upload(@RequestPart("file") MultipartFile file,@RequestPart("file1") Multip...

2019-08-22 17:14:02 732

原创 Jenkins build失败总结

1、提示 自定义connands xxx.jar 找不到,重新构建xxx 项目2、没有target/surefire-reports/**/*.xml 文件夹原因是项目中没有test目录,最好在test里面有一个简单的junit...

2019-06-19 10:07:20 4526

转载 spring boot @RefreshScope @PostConstruct refresh 配置文件刷新不及时

由于util类中需要使用application.properties中数据@Value("${acpsdk.sign}")private String sign; private static String signStatic; @PostConstructpublic void setSignStatic() { signStatic= this.si...

2019-06-06 13:44:26 4307 1

转载 ubuntu在没有vi情况下,更新源的方法

mv /etc/apt/sources.list /etc/apt/sources.list.bak echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list echo "deb http://mirrors.163.com/debian/ jessi...

2018-06-06 20:05:26 3362

原创 docker win7加速地址

https://www.daocloud.io/mirror#accelerator-docDocker Toolbox :window7加速http://guide.daocloud.io/dcs/docker-9153151.htmldocker-machine ssh defaultsudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mir...

2018-06-05 21:12:20 677

转载 Hystrix 参数详解

Hystrix 参数详解hystrix.command.default和hystrix.threadpool.default中的default为默认CommandKeyCommand PropertiesExecution相关的属性的配置:hystrix.command.default.execution.isolation.strategy 隔离策略,默认是Thread, 可选Thread|Se...

2018-05-31 22:38:20 815

原创 linux常用命令

删除命令 rm -rf 删除路径下指定类型文件rm -rf  /xx/xx/x*查看文件内容 cattail -n 10000 -f xxx 显示文件 xxx 的后50行内容并在文件内容增加后,自动显示新增的文件内容。复制put -r dir查看java进程ps -ef | grep javakill  -9 pinctrl+c退出jar执行chmod 777 设置最高权限永久打开端口7005fi...

2018-05-21 15:22:42 108

原创 spring boot 使用Swagger2

pom                <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.6.1</version> </dependenc

2018-05-21 14:51:28 128

原创 mybatis tkMapper使用

----------------------------------------------------------------------------------------------------------------------------------一、设置TkMapper单独放在一个包:这个包只有TkMapper一个文件import tk.mybatis.mapper.common.M...

2018-05-21 12:02:18 18159 3

原创 maven打包总结

1.没有定义versionFailed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project service-deal: An Ant BuildException has occured: Warning: Could not find file D:\service-d...

2018-05-21 11:44:28 614

原创 spring boot + spring batch 读取数据库文件

----------------------------------------------------------------------------------------------------------------------------------一、配置JOBimport javax.sql.DataSource;import org.springframework.batch.co...

2018-05-21 11:26:31 6555 2

原创 maven手动添加orcalejar

oracle没有授权maven所以在maven上无法下到oraclejar包,需要手动添加cd进入 ojdbc14.jar 目录mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc14.jar...

2018-03-31 21:53:50 194

原创 DOCKER国内地址

https://get.daocloud.io/toolbox/

2018-02-07 22:54:04 326

原创 windows下tomcat部署http和https

使用https需要ssl文件可以去阿里或腾讯服务器哪里去申请免费的,拿到ssl文件找到tomcat/conf/server.xml修改               connectionTimeout="20000"                 redirectPort="443" URIEncoding="UTF-8"         />   -->     

2018-01-06 22:59:00 4762

空空如也

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

TA关注的人

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