NGINX篇 九月 25, 2023

Nginx upstream 根据自定义 hash 规则进行路由

文章字数 1.2k 阅读约需 1 mins.

upstream MDM_WS {
    hash '$proxy_add_x_forwarded_for';
    server mdm:6611;
    server mdm-slave:6611...
查看全文

ELASTICSEARCH 八月 26, 2023

Elasticsearch Authentication of [kibana_system] was terminated by realm [reserved] 报错解决

文章字数 477 阅读约需 1 mins.

问题原因是 kibana_system 的用户名密码不正确

修改密码方式

进入 elasticsearch docker 容器内部, 执行

curl -X POST --cacert config/certs/ca/ca.crt -u "elastic:${ES_PASS}" -H "Content-Type: application/json" 
http://es01:9200/_security/user/kibana_system/_password...
查看全文

INTELLIJ IDEA篇 八月 25, 2023

IntelliJ 2023.2 版本在 MacOS 上表现卡顿问题的解决

文章字数 210 阅读约需 1 mins.

Help -> Edit Custom VM Options…

配置 -Dsun.java2d.metal=false 关闭 metal 的渲染,使用 OpenGL 渲染

查看全文

INTELLIJ IDEA篇 八月 24, 2023

IntelliJ MyBatis 的 XML 文件自动映射到数据,并提供 SQL 代码提示

文章字数 200 阅读约需 1 mins.

Preferences | Languages & Frameworks | SQL Resolution Scopes 配置 Path 和 Scope, Path 选择指定项目的路径即可

查看全文
加载更多
0%