会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
亮sir
博客园
首页
新随笔
联系
订阅
管理
2024年6月
Postman 拷贝 curl 不识别 --data-raw
摘要: postman:请求路径: 拷贝出来的curl: curl --location --request POST 'http://xxxxxxxxxxxxx/xxx/xxx' \ --header 'Content-Type: application/json' \ --data-raw '{ "qu
阅读全文
posted @ 2024-06-05 21:06 亮sir
阅读(310)
评论(0)
推荐(0)
2024年3月
服务平滑迁移:eureka迁移到nacos。无法注册双中心的问题解决
摘要: 迁移的文档: https://www.alibabacloud.com/help/zh/edas/developer-reference/smoothly-migrate-a-spring-cloud-cluster-that-contains-multiple-applications-to-ed
阅读全文
posted @ 2024-03-14 14:49 亮sir
阅读(145)
评论(0)
推荐(0)
2023年2月
spring boot 单例bean中使用多例bean
摘要: ServiceA @Component @Scope("prototype") public class ServiceA { } ServiceB @Service public class ServiceB implements ApplicationContextAware { public
阅读全文
posted @ 2023-02-22 14:17 亮sir
阅读(300)
评论(0)
推荐(0)
2022年10月
jvm 调优常用参数
摘要: -Xms50M 最小堆内存-Xmx50M 最大堆内存-XX:+UseG1GC 使用G1垃圾收集器-XX:MaxGCPauseMillis=6 最大停顿时间毫秒-XX:+PrintGCDetails 打印GC日志-XX:ConcGCThreads=8 在G1的筛选回收阶段,使用的线程数-Xloggc:
阅读全文
posted @ 2022-10-05 10:18 亮sir
阅读(40)
评论(0)
推荐(0)
2022年9月
LogStash 从mysql向es导数据 date_time_parse_exception could not be parsed at index
摘要: 1、Es 索引类型中有个字段 permissiondate date类型 format :yyyy-mm-dd 2、mysql 中permission_date 字段为 date类型 ,例:2021-05-02 3、通过 LogStash 从mysql 向 Es 中导数据时,报如下错误 [2022-
阅读全文
posted @ 2022-09-14 14:17 亮sir
阅读(1841)
评论(0)
推荐(0)
2022年8月
微信抓包,fildder
摘要: 1.今天微信升级了3.7.6,抓不到了 于是就将微信退回了3.2.1.154 下面是链接: 链接:https://pan.baidu.com/s/1eCZBA9jjO3k1Up2xQgvlWg 提取码:p54v 2.fildder 打开设置如下:Tools下的Options 3.登录微信:找去哪 4
阅读全文
posted @ 2022-08-28 20:03 亮sir
阅读(430)
评论(0)
推荐(0)
2022年7月
java模拟一个网站登录,用户名密码使用rsa加密。
摘要: 1.需求,每天需要从不同的网站下不同的东西,需要你去写一个爬虫来搞。 2.执行。打开网站,输入用户名密码,登录,执行一系列操作 3.模拟登录,Java模拟登录我直接用httpclient,后面在用连接池 4.找到对方网站的publicKey 找对方的publicKey比较麻烦, 第一步,F12打开查
阅读全文
posted @ 2022-07-13 10:38 亮sir
阅读(1260)
评论(0)
推荐(0)
2022年6月
mysql8.0.28主从配置
摘要: 1.首先确认两台mysql木有问题 2.新增主节点(192.168.5.130)中配置: #主从同步配置binlog log-bin=/var/lib/mysql/mysql-bin server-id=1001 3.重启: systemctl restart mysqld 4.验证: 查看binl
阅读全文
posted @ 2022-06-28 14:49 亮sir
阅读(417)
评论(0)
推荐(0)
centos7 安装mysql8.0.28
摘要: 1.下载rpm文件 https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.28-1.el7.x86_64.rpm-bundle.tar 2.上传到centos7中 3.解压 tar -xvf mysql-8.0.28-1.el7.x86_64.rpm-
阅读全文
posted @ 2022-06-25 20:52 亮sir
阅读(3068)
评论(0)
推荐(0)
2022年5月
Linux 安装redis6.0.9
摘要: 1.升级gcc # 升级到gcc 9.3: yum -y install centos-release-scl yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils scl enable devtools
阅读全文
posted @ 2022-05-18 17:27 亮sir
阅读(277)
评论(0)
推荐(0)
下一页
公告