上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 42 下一页
摘要: 一、每五分钟从时间服务器asia.pool.ntp.org 中同步一次时间 a、设置时区 ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime b、做时间同步 echo "*/5 * * * * /usr/sbin/ntpdate asia.p 阅读全文
posted @ 2018-07-20 16:42 Presley 阅读(163) 评论(0) 推荐(0) 编辑
摘要: mkdir -p /test/{1,2,3} 阅读全文
posted @ 2018-07-20 10:34 Presley 阅读(2164) 评论(0) 推荐(0) 编辑
摘要: 问题 强杀docker进程后,重启docker。docker中的容器无法启动并报错,报错内容如下 docker restart ae1f7b2c2f15 Error response from daemon: Cannot restart container ae1f7b2c2f15: contai 阅读全文
posted @ 2018-07-19 18:14 Presley 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 注意:所有匹配需要用单引号 一、获取最后一行内容 docker images | grep "none" | sed -n '$'p 二、获取第一行内容 docker images | grep "none" | sed -n '1'p 三、获取第一行到最后一行内容 docker images | 阅读全文
posted @ 2018-07-19 18:09 Presley 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 一、引用自: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 阅读(233) 评论(0) 推荐(0) 编辑
摘要: find /application/docker_hub/logs/fof1private/amount_dev -type l | xargs basename 阅读全文
posted @ 2018-07-19 15:22 Presley 阅读(2261) 评论(0) 推荐(0) 编辑
摘要: docker ps -aqf 'name=pypaltform2018_v1_trust_pro' 阅读全文
posted @ 2018-07-19 15:12 Presley 阅读(6759) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 引用自: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 阅读(186) 评论(0) 推荐(0) 编辑
摘要: #!/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 阅读(433) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 42 下一页