Liemer_Lius的文章

Elasticsearch

ES备份&恢复

ES备份&恢复
1、logstash导出文件 参考:https://www.cntofu.com/book/52/output/file.md 备份: input { elasticsearch { hosts => ["ht...

2年前 (2022-06-29) 289℃ 4喜欢

Redis

Redis常用操作

Redis常用操作
参考资料:https://www.knowledgedict.com/tutorial/redis-intro.html key总数:https://www.dbs724.com/336162.html   查看key总数: > in...

2年前 (2022-06-09) 161℃ 1喜欢

系统+安全

logrotate

logrotate
手动执行: /usr/sbin/logrotate -fv /etc/logrotate.conf &>> /var/log/cron.daily.log   Nginx # cat /etc/logrotat...

2年前 (2022-06-08) 206℃ 0喜欢

Golang

fmt Printf占位符

fmt Printf占位符
参考:https://go-zh.org/pkg/fmt/ 一般: %v 相应值的默认格式。在打印结构体时,“加号”标记(%+v)会添加字段名 %#v 相应值的Go语法表示 %T 相应值的类型的Go语法表示 %% 字面上的百分号,并非...

2年前 (2022-05-12) 345℃ 3喜欢

Soft

Win11日常习惯

Win11日常习惯
1.  还原为win10的右键菜单样式方法 1. 打开终端管理员模式 2. 输入 reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905b...

2年前 (2022-05-11) 369℃ 2喜欢

三剑客

bash grep 正则

bash grep 正则
涉及重复的元字符 Repetition: A regular expression may be followed by one of several repetition operators: ? The preceding ...

2年前 (2022-04-07) 311℃ 8喜欢

系统+安全

下载地址

下载地址
ES: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.6.2-linux-x86_64.tar.gz 转载请注明:liutianfeng.com &...

2年前 (2022-04-07) 306℃ 2喜欢