2023年11月21日
摘要:
OKdocker run -d --privileged=true --restart=always -p 6379:6379 -v /usr/local/docker/redis/6379.conf:/etc/redis/redis.conf -v /usr/local/docker/redis/
阅读全文
posted @ 2023-11-21 22:51
daofree
阅读(49)
推荐(0)
摘要:
1 非maven打包 2 maven打jar <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manif
阅读全文
posted @ 2023-11-21 15:51
daofree
阅读(21)
推荐(0)
2023年8月28日
摘要:
RunTime.getRunTime().addShutdownHook的用法
阅读全文
posted @ 2023-08-28 21:57
daofree
阅读(22)
推荐(0)
2023年8月9日
摘要:
windows location / { root D:\\nginx-1.24.0\\html\\dist; try_files $uri $uri/ /index.html; index index.html index.htm; } location /api/ { proxy_set_hea
阅读全文
posted @ 2023-08-09 18:23
daofree
阅读(50)
推荐(0)
2023年7月20日
摘要:
前端过来的密码 解密成字符串 private final AuthenticationManager authenticationManager; // 接口 UsernamePasswordAuthenticationToken authenticationToken = new Username
阅读全文
posted @ 2023-07-20 01:12
daofree
阅读(236)
推荐(0)
2023年7月19日
摘要:
时间比较--比如过滤超过1年的数据 用 Integer值比较String local = LocalDate.now().toString().replaceAll("-", "").substring(0, 6);// 202507Integer localYearMonth = Integer.
阅读全文
posted @ 2023-07-19 22:47
daofree
阅读(241)
推荐(0)
2023年7月15日
摘要:
互联网分布式架构设计,提高系统并发能力的方式,方法论上主要有两种:垂直扩展(Scale Up)与水平扩展(Scale Out)。 垂直扩展:提升单机处理能力。垂直扩展的方式又有两种: (1)增强单机硬件性能,例如:增加CPU核数如32核,升级更好的网卡如万兆,升级更好的硬盘如SSD,扩充硬盘容量如2
阅读全文
posted @ 2023-07-15 18:24
daofree
阅读(188)
推荐(0)
2023年6月27日
摘要:
pom配置<distributionManagement> <repository> <id>maven-private</id> <name>maven-private</name> <url>http://ip:8081/repository/maven-private/</url> </rep
阅读全文
posted @ 2023-06-27 21:19
daofree
阅读(246)
推荐(0)
2023年6月17日
摘要:
Cannot resolve configuration property 'rabbitmq.username'rabbitmq: username: admin password: admin virtual-host: test_data listener: simple: # 表示消费者消费
阅读全文
posted @ 2023-06-17 17:13
daofree
阅读(178)
推荐(0)
2023年6月16日
摘要:
//序列化时的命名策略——驼峰命名法 builder.propertyNamingStrategy(PropertyNamingStrategy.LOWER_CAMEL_CASE);配置作用
阅读全文
posted @ 2023-06-16 09:21
daofree
阅读(1609)
推荐(0)