09 2022 档案

摘要:echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf sysctl -p 阅读全文
posted @ 2022-09-20 19:46 LeoShi2020 阅读(348) 评论(0) 推荐(0) 编辑
摘要:vi /etc/docker/daemon.json { ... "log-driver": "json-file", "log-opts": { # 日志文件最大1G "max-size": "1000m", # 日志文件数量最大为50个 "max-file": "50" }, ... } 阅读全文
posted @ 2022-09-20 00:57 LeoShi2020 阅读(60) 评论(0) 推荐(0) 编辑
摘要:yum -y install deltarpm 阅读全文
posted @ 2022-09-06 16:44 LeoShi2020 阅读(32) 评论(0) 推荐(0) 编辑
摘要:[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 阅读全文
posted @ 2022-09-06 16:43 LeoShi2020 阅读(417) 评论(0) 推荐(0) 编辑
摘要:# 批量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 阅读全文
posted @ 2022-09-06 16:43 LeoShi2020 阅读(242) 评论(0) 推荐(0) 编辑
摘要:1. 所有表 mysql> SELECT TABLE_NAME,TABLE_ROWS FROM information_schema.`TABLES` WHERE TABLE_SCHEMA = (SELECT database()) ORDER BY TABLE_ROWS DESC; + + + | 阅读全文
posted @ 2022-09-05 09:18 LeoShi2020 阅读(2522) 评论(0) 推荐(0) 编辑
摘要:1. 已存在SSHKey 登录服务器报 Save at once 2. 删除对应服务器的pub key C:\Users\LeoShi\AppData\Roaming\VanDyke\Config\KnownHosts END 阅读全文
posted @ 2022-09-02 17:48 LeoShi2020 阅读(242) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示