• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页

2018年2月4日

kubernetes 集群安全配置
摘要: 版本:v1.10.0-alpha.3 openssl genrsa -out ca.key 2048 openssl req -x509 -new -nodes -key ca.key -subj "/CN=mhc" -days 5000 -out ca.crt openssl genrsa -ou 阅读全文
posted @ 2018-02-04 16:54 会飞の鱼 阅读(314) 评论(0) 推荐(0)
 

2018年2月2日

k8s dashboard
摘要: [root@mhc dashboard]# cat dashboard-controller.yaml # This file should be kept in sync with cluster/gce/coreos/kube-manifests/addons/dashboard/dashboa 阅读全文
posted @ 2018-02-02 20:14 会飞の鱼 阅读(188) 评论(0) 推荐(0)
 
k8s v1.5.8 单节点搭建
摘要: setsid etcd -name etcd -data-dir /var/lib/etcd -listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -advertise-client-urls http://0.0.0.0:2379, 阅读全文
posted @ 2018-02-02 17:29 会飞の鱼 阅读(187) 评论(0) 推荐(0)
 

2018年1月31日

etcd raft library
摘要: https://github.com/coreos/etcd/tree/master/raft import "github.com/coreos/etcd/raft" raft是一个协议,一个节点集群可以维护一个复制状态机。状态机通过使用复制日志保持同步。有关Raft的更多详细信息,请参阅Dieg 阅读全文
posted @ 2018-01-31 09:12 会飞の鱼 阅读(1091) 评论(0) 推荐(0)
 

2018年1月23日

split files test
摘要: python split_upload.py /root/github/python/s3_test/test.txt dbelt dumps python download_to_a_file.py /root/file_test dbelt dumps/test 阅读全文
posted @ 2018-01-23 21:53 会飞の鱼 阅读(137) 评论(0) 推荐(0)
 

2018年1月22日

mysql 错误集锦
摘要: Got fatal error 1236 from master when reading data from binary log: 'could not find next log; the first event '' at 4, the last event read from './mys 阅读全文
posted @ 2018-01-22 10:57 会飞の鱼 阅读(219) 评论(0) 推荐(0)
 

2018年1月19日

diff
摘要: cp /etc/passwd passwd_old cat /etc/passwd| sed -e '4d' -e '6c no six line' > passwd_new [root@mhc regular]# diff passwd_old passwd_new 4d3< adm:x:3:4: 阅读全文
posted @ 2018-01-19 19:59 会飞の鱼 阅读(292) 评论(0) 推荐(0)
 
awk
摘要: [root@mhc regular]# last -n 2|awk '{print $1 "\t" $3}'root :0root :0 wtmp Wed [root@mhc regular]# last -n 2|awk '{print $1 "\tlines:" NR "\t columes:" 阅读全文
posted @ 2018-01-19 19:25 会飞の鱼 阅读(128) 评论(0) 推荐(0)
 
sed
摘要: 删除: [root@mhc regular]# sed '2,5d' num.txt 1678[root@mhc regular]# sed '5d' num.txt 1234678[root@mhc regular]# sed '5,$d' num.txt 1234新增: [root@mhc re 阅读全文
posted @ 2018-01-19 17:54 会飞の鱼 阅读(107) 评论(0) 推荐(0)
 
grep
摘要: [root@mhc regular]# cat a.txt|grep gooooooglegoooooogle yes![root@mhc regular]# [root@mhc regular]# [root@mhc regular]# cat a.txt|grep -A2 goooooogleg 阅读全文
posted @ 2018-01-19 17:43 会飞の鱼 阅读(143) 评论(0) 推荐(0)
 
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 41 下一页