会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cchilei
竹杖芒鞋轻胜马 一蓑烟雨任平生
博客园
首页
新随笔
联系
管理
上一页
1
···
5
6
7
8
9
10
11
12
下一页
2020年6月12日
set循环遍历删除特定元素
摘要: set循环遍历删除特定元素 public class Demo { public static void main(String[] args) { Set<Object> obj = new HashSet<Object>(); obj.add("a"); obj.add("b"); obj.ad
阅读全文
posted @ 2020-06-12 14:28 cchilei
阅读(1362)
评论(0)
推荐(1)
2020年6月10日
TransportClient基于Elasticsearch6.8.6 X-PACK
摘要: Elasticsearch6.8.6开启X-PACK服务后,Transport连接方式 转载,请注明出处:https://www.cnblogs.com/cchilei/p/13086160.html pom文件 <repositories> <!-- add the elasticsearch r
阅读全文
posted @ 2020-06-10 16:30 cchilei
阅读(2385)
评论(1)
推荐(2)
elasticsearch6.8.6配置xpack(生成密钥)
摘要: 转载,请注明出处:https://www.cnblogs.com/cchilei/p/13085842.html 启动ES ./bin/elasticsearch -d 设置ES内置用户及密码 1、先创建keystore文件 ./bin/elasticsearch-keystore create 2
阅读全文
posted @ 2020-06-10 16:02 cchilei
阅读(3987)
评论(0)
推荐(1)
2020年6月1日
Java8 List排序
摘要: 基础类型List排序 //根据字符串长度进行排序 list.sort((a,b) -> b.length() - a.length());//长在前,短在后 list.sort((a,b) -> a.length() - b.length());//短在前,长在后 //对数字进行排序 List<In
阅读全文
posted @ 2020-06-01 14:15 cchilei
阅读(2678)
评论(0)
推荐(1)
ssh 免密码登录自动设置脚本
摘要: 目的 一键式配置集群节点间免密码登录 实现 vim ~/nonpassword 脚本内容: #!/bin/sh # all node names NODES=() # all node password PASS=$1 ###### Validation args length nodes_leng
阅读全文
posted @ 2020-06-01 10:08 cchilei
阅读(970)
评论(1)
推荐(1)
2020年5月26日
Linux grep命令用于查找文件里符合条件的字符串
摘要: 转自:http://www.runoob.com/linux/linux-comm-grep.html Linux grep命令用于查找文件里符合条件的字符串。 grep指令用于查找内容包含指定的范本样式的文件,如果发现某文件的内容符合所指定的范本样式,预设grep指令会把含有范本样式的那一列显示出
阅读全文
posted @ 2020-05-26 09:12 cchilei
阅读(2080)
评论(0)
推荐(0)
2020年5月21日
[译]如何防止elasticsearch的脑裂问题
摘要: 本文翻译自blog.trifork.com的博文 地址是http://blog.trifork.com/2013/10/24/how to avoid the split brain problem in elasticsearch/ 转自:https://www.cnblogs.com/zhuku
阅读全文
posted @ 2020-05-21 15:30 cchilei
阅读(221)
评论(0)
推荐(1)
centos7.x关闭防火墙
摘要: ```shell//查看防火墙状态systemctl status firewalld//临时关闭systemctl stop firewalld//禁止开机启动systemctl disable firewalldRemoved symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.Removed symlin...
阅读全文
posted @ 2020-05-21 11:50 cchilei
阅读(153)
评论(0)
推荐(0)
Elasticsearch 设置密码x-pack
摘要: 重启elasticsearch 设置密码:
阅读全文
posted @ 2020-05-21 10:22 cchilei
阅读(1682)
评论(0)
推荐(0)
2020年5月15日
Java8的List过滤
摘要: Java8的List使用: 输出结果
阅读全文
posted @ 2020-05-15 11:22 cchilei
阅读(13574)
评论(2)
推荐(1)
上一页
1
···
5
6
7
8
9
10
11
12
下一页
公告