摘要: 下载elasticsearch-7.9.1: https://www.elastic.co/cn/downloads/past-releases/elasticsearch-7-9-1 解压后使用非root用户进行启动: ./bin/elasticsearch //前台启动 ./bin/elasti 阅读全文
posted @ 2021-08-31 14:40 julian_chang 阅读(105) 评论(0) 推荐(0) 编辑
摘要: http://spotify.github.io/threaddump-analyzer/ 阅读全文
posted @ 2021-07-28 20:52 julian_chang 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 1.tcp包中包含auth tcp contains "auth" 2.请求的url中包含auth http.request.uri contains "auth" 3.端口过滤 tcp.port == 3320 4.协议过滤 http 5.ip地址过滤 ip.addr == 192.186.3.1 阅读全文
posted @ 2021-05-11 17:22 julian_chang 阅读(424) 评论(0) 推荐(0) 编辑
摘要: via : https://blog.csdn.net/caoyang0105/article/details/82769293 阅读全文
posted @ 2021-04-12 11:37 julian_chang 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1.解压 tar xzvf nginx-1.23.1.tar.gz 2.改名 mv nginx-1.23.1 nginx 3.配置 cd nginx ./configure --prefix=/usr/local/nginx 4.编译安装 make && make install 5.软链接 ln 阅读全文
posted @ 2021-03-23 17:07 julian_chang 阅读(29) 评论(0) 推荐(0) 编辑
摘要: SELECT TABLE_NAME,DATA_LENGTH,INDEX_LENGTH,(DATA_LENGTH+INDEX_LENGTH) as length,TABLE_ROWS,concat(round((DATA_LENGTH+INDEX_LENGTH)/1024/1024,3), 'MB') 阅读全文
posted @ 2021-01-19 09:49 julian_chang 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 查看: crontab -l 修改: crontab -e //添加新的定时任务按i 例: */30 * * * * /data/download-server/server.sh restart //半小时执行一次 阅读全文
posted @ 2021-01-19 09:46 julian_chang 阅读(85) 评论(0) 推荐(0) 编辑
摘要: curl -L "http://localhost:8080/get_token" curl -H "Content-Type: application/json" -X POST -d '{"test": "testval" }' "http://localhost:80808/api" //po 阅读全文
posted @ 2021-01-19 09:39 julian_chang 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 1.在表格中混用float与double会出现数值不准确的情况 保持一种类型,比如double,jdk8以后有lambda 可以统计返回结果是double的 2.在表格中插入公式 SXSSFCell cellttsum = tailrow.createCell(y); String colStrin 阅读全文
posted @ 2020-07-14 11:57 julian_chang 阅读(428) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh declare -A myMap myMap["test.ts"]="yw_0001.ts" //需要改名的map function getfile(){ echo $1 for file in $1/* do if test -f $file then echo $file a 阅读全文
posted @ 2020-06-29 15:37 julian_chang 阅读(204) 评论(0) 推荐(0) 编辑