09 2022 档案
摘要:echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p
阅读全文
摘要:vi /etc/docker/daemon.json { ... "log-driver": "json-file", "log-opts": { # 日志文件最大1G "max-size": "1000m", # 日志文件数量最大为50个 "max-file": "50" }, ... }
阅读全文
摘要:yum -y install deltarpm
阅读全文
摘要:[root@SRV1 ~]# free -h total used free shared buff/cache available Mem: 31G 2.4G 224M 33M 28G 28G Swap: 2.0G 2.0M 2.0G [root@SRV1 ~]# sync [root@SRV1
阅读全文
摘要:# 批量tag docker images | grep metallb |awk -v OFS=':' '{print "docker tag "$1,$2" hub.leoshi.io/"$1,$2}' | sh [root@Harbor ~]# docker images | grep met
阅读全文
摘要:1. 所有表 mysql> SELECT TABLE_NAME,TABLE_ROWS FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = (SELECT database()) ORDER BY TABLE_ROWS DESC; + + + |
阅读全文
摘要:1. 已存在SSHKey 登录服务器报 Save at once 2. 删除对应服务器的pub key C:\Users\LeoShi\AppData\Roaming\VanDyke\Config\KnownHosts END
阅读全文