会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Presley
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
27
28
29
30
31
32
33
34
35
···
42
下一页
2018年7月20日
Linux 同时创建多个目录
摘要: mkdir -p /test/{1,2,3}
阅读全文
posted @ 2018-07-20 10:34 Presley
阅读(2178)
评论(0)
推荐(0)
2018年7月19日
docker容器重启故障
摘要: 问题 强杀docker进程后,重启docker。docker中的容器无法启动并报错,报错内容如下 docker restart ae1f7b2c2f15 Error response from daemon: Cannot restart container ae1f7b2c2f15: contai
阅读全文
posted @ 2018-07-19 18:14 Presley
阅读(961)
评论(0)
推荐(0)
Linux sed
摘要: 注意:所有匹配需要用单引号 一、获取最后一行内容 docker images | grep "none" | sed -n '$'p 二、获取第一行内容 docker images | grep "none" | sed -n '1'p 三、获取第一行到最后一行内容 docker images |
阅读全文
posted @ 2018-07-19 18:09 Presley
阅读(176)
评论(0)
推荐(0)
Linux 正则
摘要: 一、引用自:https://www.cnblogs.com/chensiqiqi/p/6285060.html 二、grep示例 grep -i 忽略大小写 grep -w 精准匹配 grep -E 匹配正则 ^(以什么开头),.*(任意字符) 三、正则表达式分类 1、基本正则表达式(BRE , b
阅读全文
posted @ 2018-07-19 18:05 Presley
阅读(260)
评论(0)
推荐(0)
Linux 获取目录中最后一个文件的名字
摘要: find /application/docker_hub/logs/fof1private/amount_dev -type l | xargs basename
阅读全文
posted @ 2018-07-19 15:22 Presley
阅读(2300)
评论(0)
推荐(0)
docker 获取容器id
摘要: docker ps -aqf 'name=pypaltform2018_v1_trust_pro'
阅读全文
posted @ 2018-07-19 15:12 Presley
阅读(6770)
评论(0)
推荐(1)
2018年7月18日
elk 日志分析系统
摘要: kafka + zk详解 :https://blog.csdn.net/my_bai/article/details/68490632 一、简介:引用自https://www.cnblogs.com/aresxin/p/8035137.html 二、详解:引用自https://www.cnblogs
阅读全文
posted @ 2018-07-18 17:58 Presley
阅读(181)
评论(0)
推荐(0)
2018年7月17日
rhev 虚拟化
摘要: 引用自:https://blog.csdn.net/Jmilk/article/details/50964121#rhev-hhypervisor-%E8%99%9A%E6%8B%9F%E6%9C%BA%E7%AE%A1%E7%90%86%E7%A8%8B%E5%BA%8F
阅读全文
posted @ 2018-07-17 17:58 Presley
阅读(198)
评论(0)
推荐(0)
flask 封装
摘要: #!/bin/env python# _*_coding:utf-8_*_#!!!!!!!!!!!!describe:this script shoud install python-devel and pip install MySQL-pythonimport subprocessimport
阅读全文
posted @ 2018-07-17 16:44 Presley
阅读(443)
评论(0)
推荐(0)
zabbix agent配置文件记录
摘要: 一、无论主动还是被动模式都要配置server和linstenPort 二、若要设置主动模式那么要添加ServerActive,若不添加则默认为被动模式
阅读全文
posted @ 2018-07-17 16:38 Presley
阅读(171)
评论(0)
推荐(0)
上一页
1
···
27
28
29
30
31
32
33
34
35
···
42
下一页
公告