会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
trump2
trump
新随笔
管理
上一页
1
2
3
4
5
6
7
8
下一页
2023年3月16日
内网开发
摘要: repository目录拷贝进去, 不必须名字一样,否正需要改settings.xml 内网要work offline
阅读全文
posted @ 2023-03-16 22:24 trump2
阅读(17)
评论(0)
推荐(0)
2023年3月13日
elasticsearch6.x
摘要: 搭建: 见: https://blog.csdn.net/qq_50227688/article/details/115379121 kibana下载: https://artifacts.elastic.co/downloads/kibana/kibana-7.4.0-linux-x86_64.t
阅读全文
posted @ 2023-03-13 17:55 trump2
阅读(44)
评论(0)
推荐(0)
2023年3月9日
linux 随记
摘要: 1.设置开机启动 : systemctl enable mysqld 2.查看开机启动项 systemctl list-unit-files | grep mysqld 3.mini-iso系统缺少gcc,c++, 先从完整的iso中找齐rpm包 然后rpm -Uvh *.rpm --nodeps
阅读全文
posted @ 2023-03-09 16:11 trump2
阅读(28)
评论(0)
推荐(0)
2023年3月8日
clickhouse 集群
摘要: 1.4个rpm包 2. rpm -Uvh *.rpm --nodeps --force 3. 替换config.xml, users.xml 4.在/etc/clickhouse-server/config.d/放cluster.xml 5.chmod 777 /etc/clickhouse-ser
阅读全文
posted @ 2023-03-08 16:09 trump2
阅读(36)
评论(0)
推荐(0)
2022年12月8日
java 异步总线guava eventBus
摘要: 参见: https://blog.csdn.net/winy_lm/article/details/88076968?spm=1001.2101.3001.6650.14&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EE
阅读全文
posted @ 2022-12-08 13:37 trump2
阅读(220)
评论(0)
推荐(0)
2022年11月28日
java promise
摘要: java 模拟javascripe的promise 必须通过Callable接口,通过主线程阻塞监听 futures[j].get(); 来保证任务执行完毕. 示例代码 public class TestV { public static List<Integer> list = Collectio
阅读全文
posted @ 2022-11-28 11:52 trump2
阅读(236)
评论(0)
推荐(0)
2022年11月24日
ipv4与ipv6
摘要: 一.ipv4(255.255.255.255和254都表示不过网关, 255.255.255.252:表示4-2=2个ip可用; 255.255.255.248表示8-2=6个ip可用) ip: 4个8位的二级制数表示网络 netmask: 前面的1表示网络端, 后面的0表示主机段. 如 11111
阅读全文
posted @ 2022-11-24 10:31 trump2
阅读(646)
评论(0)
推荐(0)
2022年11月17日
shell脚本收录
摘要: shell中传map参数, 参见https://cloud.tencent.com/developer/article/1486482 1.获取cpu,内存,磁盘写日志脚本 #! /bin/bash #要监控的进程 process_name=(MainApp filebeat) #该脚本跑的log存
阅读全文
posted @ 2022-11-17 11:26 trump2
阅读(23)
评论(0)
推荐(0)
2022年10月17日
springboot 启动时执行线程
摘要: 1.写一个SpringUtil @Componentpublic class SpringUtil implements ApplicationContextAware 2.在启动类中可以读取任何bean SpringApplication.run(Xxx.class, args);CommonCo
阅读全文
posted @ 2022-10-17 10:17 trump2
阅读(1330)
评论(0)
推荐(0)
python 生成测试日志脚本
摘要: #!/usr/bin/python# -*- coding: UTF-8 -*-import datetimeimport jsonimport randomimport timeimport os def core_mail(): nowtime = time.strftime('%Y-%m-%d
阅读全文
posted @ 2022-10-17 10:05 trump2
阅读(57)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告