logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

sqlserver 修改数据库用户登录名

还原数据库后数据库用户名需要与实例登录名关联sp_change_users_login 'update_one','用户名','登录名'

#sqlserver
nginx docker官方镜像使用自定义启动命令启动失败

官方参考资料默认启动命令nginx -g daemon off;If you add a custom CMD in the Dockerfile, be sure to include -g daemon off; in the CMD in order for nginx to stay in the foreground, so that Docker can track the proce

#docker
windows docker desktop配置国内镜像仓库

右键托盘图标 - 设置修改Docker Engine配置,增加镜像仓库地址{"registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com","https://docker.mirrors.ustc.edu.cn"],"insecure-registries": [],"debug": false

#docker
springsecurity 多httpsecurity配置

多配置时根据配置文件order依次套用httpsecurity规则,等效于http.and()http.authorizeRequests()标识标识多个匹配条件入口http.authorizeRequests()….anyRequest()标识全部路径适用规则此规则之后的规则将不会生效正确的做法:配置A// a下路径http.antMatcher("/a/**").author...

#spring
springsecurity 允许跨域IFRAME引用

WebSecurityConfigurerAdapter@Overrideprotected void configure(HttpSecurity http) throws Exception {...http.headers().frameOptions().disable();...}

#spring
springboot使用spring-cloud-starter-alibaba-sentinel导致响应变成xml格式

spring-cloud-starter-alibaba-sentinel版本2.2.1.RELEASE原因引入spring-cloud-starter-alibaba-sentinel依赖会同时引入jackson-dataformat-xml。xml优先级比json高解决在maven配置中排除jackson-dataformat-xml<dependency><groupId&

#sentinel
MYSQL 一次更新BLOB数据报错SQLSTATE(08S01)处理

插入包含blob字段的记录时,blob数据超过一定大小(小于max_allowed_packet)时提交一段时间后报错如下:2021-03-02 13:44:59.392 [http-nio-auto-1-exec-10] WARNcom.zaxxer.hikari.pool.ProxyConnection - HikariPool-1 - Connection com.mysql.cj.jdbc

#mysql
k8s kubectl 在容器中执行命令 进入容器SHELL

执行命令kubectl -n <namespace> exec -it <POD> -c <CONTAINER> -- <COMMAND>进入shellkubectl -n <namespace> exec -it <POD> -c <CONTAINER> -- /bin/sh

#容器#运维
到底了