摘要:
一、下载Keepalived 1、下载依赖软件 yum install -y gcc yum install -y openssl-devel yum install -y libnl libnl-devel yum install -y libnfnetlink-devel yum install 阅读全文
摘要:
一、本地Linux配置网络 1、配置文件地址(ens33为网卡名称) vi /etc/sysconfig/network-scripts/ifcfg-ens33 2、配置静态IP (1)bootproto=static (2)onboot=yes (3)IP地址、子网掩码、网关、dns服务器 例如: 阅读全文
摘要:
1、pom.xml加入以下配置 <packaging>jar</packaging> 2、 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plu 阅读全文
摘要:
一、考虑是发生了熔断,应查看日志看具体原因。 二、我这里是因为传递的时间的参数没有加: @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 导致数据库的时间直接转换时,格式不对;所以发生熔断。 阅读全文
摘要:
1、本质是过滤链 一、关于配置 1、继承WebSecurityConfigurerAdapter类 2、重写两个configure,一个是配置认证策略,一个是配置AuthenticationManagerBuilder,配置它的用户信息,它是AnthenticationManager构建者 二、基本 阅读全文
摘要:
简单概括了代码规范,基本为阿里代码规范 阅读全文
摘要:
记录Redis三种特殊类型(Geospatial、Hyperloglog、Bitmaps )的应用场景及命令。 阅读全文
摘要:
记录Redis五大数据类型(String、List、Hash、Set、ZSet)的常用命令 阅读全文