会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
junqiang_china
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
53
下一页
2020年4月23日
Python Jinja2 Template: YAML File Cisco Example Tutorial
摘要: 原文链接: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
阅读(315)
评论(0)
推荐(0)
2020年4月22日
Python 控制台输出时刷新当前行内容而不是输出新行
摘要: 需求目标 执行Python程序的时候在控制台输出内容的时候只显示一行,然后自动刷新内容,像这样: Downloading File FooFile.txt [47%] 而不是这样: Downloading File FooFile.txt [47%] Downloading File FooFile
阅读全文
posted @ 2020-04-22 10:24 salami_china
阅读(598)
评论(0)
推荐(0)
CentOS下删除物理磁盘,删除LVM
摘要: 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
阅读(1851)
评论(0)
推荐(0)
2020年4月17日
CentOS 阿里源
摘要: [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
阅读(461)
评论(0)
推荐(0)
使用分区挂载 ftp 目录
摘要: 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
阅读(805)
评论(0)
推荐(0)
Docker-compose常用命令
摘要: 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
阅读(250)
评论(0)
推荐(0)
2020年4月16日
docker 启动容器失败 id already in use
摘要: 问题:id already in use 解决:/etc/docker/daemon.json {"shutdown-timeout": 60}
阅读全文
posted @ 2020-04-16 20:59 salami_china
阅读(3257)
评论(0)
推荐(0)
Docker daemon.json 的配置项目合集
摘要: 这几天看了一点docker相关的东西, 在学习中:看了下园友的blog 感觉很好 这里 学习一下. https://www.cnblogs.com/pzk7788/p/10180197.html 其实也可以从 systemd 里面的 docker.service 进行修改 来处理但是 docker/
阅读全文
posted @ 2020-04-16 20:49 salami_china
阅读(1056)
评论(0)
推荐(0)
2020年4月13日
Watchtower - 自动更新 Docker 镜像与容器
摘要: 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
阅读(11980)
评论(12)
推荐(0)
umount 时目标忙解决办法
摘要: [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
阅读(3344)
评论(0)
推荐(1)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
53
下一页
公告