手动执行:
/usr/sbin/logrotate -fv /etc/logrotate.conf &>> /var/log/cron.daily.log
Nginx
# cat /etc/logrotat...
10个月前 (06-08) 144℃
0喜欢
参考:https://blog.csdn.net/anqixiang/article/details/111598067
转载请注明:liutianfeng.com » shell中 [ ] 和 [[ ]] 的区别...
10个月前 (05-19) 206℃
4喜欢
参考:https://go-zh.org/pkg/fmt/
一般:
%v 相应值的默认格式。在打印结构体时,“加号”标记(%+v)会添加字段名
%#v 相应值的Go语法表示
%T 相应值的类型的Go语法表示
%% 字面上的百分号,并非...
11个月前 (05-12) 184℃
3喜欢
1. 还原为win10的右键菜单样式方法
1. 打开终端管理员模式
2. 输入 reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905b...
11个月前 (05-11) 162℃
2喜欢
0、修改成中文
1、修改默认的shell为Git Bash
管理 –> 设置
搜索:shell:windows,找到:Terminal › Integrated › Default Profile: Windows,在...
11个月前 (04-29) 283℃
4喜欢
涉及重复的元字符
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因为版本的,可能有不少不可预知的问题。
https://www.cnblogs.com/hjfeng1988/p/7146009.html?ivk_sa=1024320u
转载请注明:liutianfeng.com »...
12个月前 (04-07) 188℃
2喜欢
磁盘的 IOPS,也就是在一秒内,磁盘进行多少次 I/O 读写。
磁盘的吞吐量,也就是每秒磁盘 I/O 的流量,即磁盘写入加上读出的数据的大小。
测试方法:
测试随机写IOPS:
fio -direct=1 -iodepth=128 -r...
1年前 (2022-03-23) 206℃
11喜欢
安装:
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喜欢