Liemer_Lius的文章

系统+安全

logrotate

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

10个月前 (06-08) 144℃ 0喜欢

Golang

fmt Printf占位符

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

11个月前 (05-12) 184℃ 3喜欢

Soft

Win11日常习惯

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

11个月前 (05-11) 162℃ 2喜欢

三剑客

bash grep 正则

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

12个月前 (04-07) 183℃ 8喜欢

系统+安全

下载地址

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

12个月前 (04-07) 185℃ 2喜欢

Redis

Redis数据迁移

Redis数据迁移
Redis因为版本的,可能有不少不可预知的问题。 https://www.cnblogs.com/hjfeng1988/p/7146009.html?ivk_sa=1024320u 转载请注明:liutianfeng.com »...

12个月前 (04-07) 188℃ 2喜欢

系统+安全

磁盘读写测试 I/O测试

磁盘读写测试 I/O测试
磁盘的 IOPS,也就是在一秒内,磁盘进行多少次 I/O 读写。 磁盘的吞吐量,也就是每秒磁盘 I/O 的流量,即磁盘写入加上读出的数据的大小。 测试方法: 测试随机写IOPS: fio -direct=1 -iodepth=128 -r...

1年前 (2022-03-23) 206℃ 11喜欢

MongoDB

MongoDB

MongoDB
安装: yum -y install mongodb mongodb-server 连接测试: 1、连接mongodb服务器 mongo 1.1.1.1:1688 -u user -p password # 没有密码的, -u,-p省略...

1年前 (2022-03-17) 192℃ 8喜欢