上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 53 下一页
摘要: 原文链接:http://networkbit.ch/python-jinja-template/ template.txt如下: hostname {{ name }} interface Loopback1 ip address 10.1.1.{{ id }} 255.255.255.255 {% 阅读全文
posted @ 2020-04-23 15:52 salami_china 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 需求目标 执行Python程序的时候在控制台输出内容的时候只显示一行,然后自动刷新内容,像这样: Downloading File FooFile.txt [47%] 而不是这样: Downloading File FooFile.txt [47%] Downloading File FooFile 阅读全文
posted @ 2020-04-22 10:24 salami_china 阅读(528) 评论(0) 推荐(0) 编辑
摘要: 1.删除 dmsetup remove LV_name 2.vgreduce VG_name --removemissing 3.vgremove VG_name 4.pvremove disk 阅读全文
posted @ 2020-04-22 09:23 salami_china 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: [centos] name=centos baseurl=http://mirrors.aliyun.com/centos/7/os/x86_64/ enabled=1 gpgcheck=0 [epel] name=epel baseurl=http://mirrors.aliyun.com/epe 阅读全文
posted @ 2020-04-17 22:22 salami_china 阅读(452) 评论(0) 推荐(0) 编辑
摘要: ftp挂载分区上去后无法识别的问题困扰了我好几天,今天有时间把它研究了一下,拿出来与大家分享一下。 ftp目录挂载分区前与挂载分区后的区别[root@localhost ~]# ls -Zd /var/ftp/pubdrwxr-xr-x root root system_u:object_r:pub 阅读全文
posted @ 2020-04-17 19:19 salami_china 阅读(777) 评论(0) 推荐(0) 编辑
摘要: build Build or rebuild services bundle Generate a Docker bundle from the Compose file config Validate and view the Compose file create Create services 阅读全文
posted @ 2020-04-17 10:07 salami_china 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 问题:id already in use 解决:/etc/docker/daemon.json {"shutdown-timeout": 60} 阅读全文
posted @ 2020-04-16 20:59 salami_china 阅读(3097) 评论(0) 推荐(0) 编辑
摘要: 这几天看了一点docker相关的东西, 在学习中:看了下园友的blog 感觉很好 这里 学习一下. https://www.cnblogs.com/pzk7788/p/10180197.html 其实也可以从 systemd 里面的 docker.service 进行修改 来处理但是 docker/ 阅读全文
posted @ 2020-04-16 20:49 salami_china 阅读(1033) 评论(0) 推荐(0) 编辑
摘要: git 地址:https://github.com/containrrr/watchtower Docker images docker pull containrrr/watchtower:i386-0.3.11 docker pull containrrr/watchtower:i386-lat 阅读全文
posted @ 2020-04-13 16:16 salami_china 阅读(11645) 评论(12) 推荐(0) 编辑
摘要: [root@node2 ~]# umount /var/lib/ceph/osd/ceph-1 umount: /var/lib/ceph/osd/ceph-1:目标忙。 (有些情况下通过 lsof(8) 或 fuser(1) 可以 找到有关使用该设备的进程的有用信息) [root@node2 ~] 阅读全文
posted @ 2020-04-13 16:03 salami_china 阅读(3128) 评论(0) 推荐(1) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 53 下一页