Spring Boot 整合Swagger2 依赖导入 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </depend ...
分类:
编程语言 时间:
2021-01-25 10:42:42
阅读次数:
0
Redis主从+Sentinel搭建文档 1、单机redis安装 wget http://download.redis.io/releases/redis-5.0.3.tar.gzcd /usr/local/tar -zxvf redis-5.0.3.tar.gzmv redis-5.0.3/ re ...
分类:
其他好文 时间:
2021-01-22 11:52:28
阅读次数:
0
今天突然不能su到root了,root密码是正确的,但是就是显示密码错误还有mount也不能在一般用户里用了,不管有没有设备,都说没有权限到google上搜索了一番,发现了这样一段:---------------------------Try doing (note back-ticks not q ...
分类:
其他好文 时间:
2021-01-22 11:51:26
阅读次数:
0
//建立文件夹 File f=new File("user"); System.out.println(f.createNewFile()); //建立文件 File wj = new File("user.txt"); File wj2=new File(".","user2.txt"); Sys ...
分类:
其他好文 时间:
2021-01-21 10:47:05
阅读次数:
0
package com.example.delete;import java.io.File;public class DeleteDirectory { /** * 删除空目录 * @param dir 将要删除的目录路径 */ private static void doDeleteEmptyD ...
分类:
其他好文 时间:
2021-01-21 10:32:07
阅读次数:
0
github上面的原问题链接:https://github.com/kubernetes/kubernetes/issues/98079 按照他说的, 我新建了一个crd,yaml文件内容如下: apiVersion: apiextensions.k8s.io/v1 kind: CustomReso ...
分类:
其他好文 时间:
2021-01-20 12:18:15
阅读次数:
0
1、数据库准备 1、192.168.8.162 test1主 2、192.168.8.134 test1从 3、192.168.8.176 test1从 4、192.168.8.162 test2主 5、192.168.8.134 test2从 6、192.168.8.176 test2从 2、准备 ...
分类:
数据库 时间:
2021-01-20 11:42:43
阅读次数:
0
转自:https://www.pianshen.com/article/58601308015/ springboot配置MVC的官网信息:https://docs.spring.io/spring-boot/docs/2.2.1.RELEASE/reference/htmlsingle/#boot ...
分类:
编程语言 时间:
2021-01-19 12:26:09
阅读次数:
0
使用时在引导类用@bean注入 在需要用的地方@AutoWired注入 package com.changgou.order.config; import com.alibaba.fastjson.JSON; import org.springframework.core.io.ClassPathR ...
分类:
其他好文 时间:
2021-01-19 12:17:05
阅读次数:
0
前言: 端口号:21881 ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开源的实现,是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件,提供的功能包括:配置维护、域名服务、分布式同步、组服务等。 本质:主要作用是注册 ...
分类:
其他好文 时间:
2021-01-19 12:08:39
阅读次数:
0