上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页
摘要: 1.jackson在序列化过程中会将大写开头的字段自动转成小写开头 public class BrandRequest { @JsonProperty(value="UPDATE_TIME") private String UPDATE_TIME; public Date getUPDATE_TIM 阅读全文
posted @ 2021-09-22 14:07 jason47 阅读(1118) 评论(0) 推荐(0) 编辑
摘要: 1.接口包含如下元素 brand/search/{pageNo}/{pageSize}?startTime=“2021-08-02 22:00:00”&endTime=“2021-08-03 00:00:00”Headers:"authorization":"""code":""注意:“2021-0 阅读全文
posted @ 2021-09-16 13:57 jason47 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1.解压 jar -xvf ***.jar 解压要替换的jar (注意会解压到当前目录) 解压后生成三个目录 /BOOT-INF /META-INF /org 2. 所有的类都在BOOT-INF下面,将需要替换的类cp到对应的目录 3. 重新打包 首先删除原先的jar包 jar -cfM0 XX.j 阅读全文
posted @ 2021-09-15 15:13 jason47 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 一、在/etc/profile配置jdk环境变量 export JAVA_HOME=/usr/lib/jdk/jdk1.8 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib (ex 阅读全文
posted @ 2021-09-14 09:47 jason47 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1.添加配置的类 @Component public class ThriftComponent { @Value("${thrift.host}") public String host; @Value("${thrift.port}") public int port; @Value("${th 阅读全文
posted @ 2021-09-13 14:06 jason47 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 在修改/etc/profile时不小心,导致丢失 查看PATH #echo $PATH 添加PATH #export PATH=$PATH:/sbin:/bin 阅读全文
posted @ 2021-09-13 09:39 jason47 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 1.编辑earth.service [Unit] Description=earth After=network.target remote-fs.target nss-lookup.target [Service] Type=simple User=root WorkingDirectory=/h 阅读全文
posted @ 2021-09-11 12:19 jason47 阅读(291) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/Da_NuCJu2rDdZrMNEpbqPg 今天我们来深度解密一下负载均衡器 LVS 的秘密,相信大家看了你管这破玩意儿叫负载均衡?这篇文章后,还是有不少疑问,比如 LVS 看起来只有类似路由器的转发功能,为啥说它是四层(传输层)负载均衡器呢, 阅读全文
posted @ 2021-09-09 14:26 jason47 阅读(311) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/xSt9hFFvWWPiVHawdLPraw 相信大家都听过这样的一道经典面试题:「请说出在淘宝网输入一个关键词到最终展示网页的整个流程,越详细越好」 这个问题很难,涉及到 HTTP,TCP,网关,LVS 等一系列相关的概念及诸多协议的工作机制, 阅读全文
posted @ 2021-09-09 14:24 jason47 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 1. 下载apache-flume-1.9.0-bin.tar 2. 在/usr/local/share/下创建flume,并chmod 777,将flume解压至此文件夹 tar -xf apache-flume-1.9.0-bin.tar --strip-components 1 -C /usr 阅读全文
posted @ 2021-09-03 10:27 jason47 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 21 下一页