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






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 36 37 38 39 40 41 下一页

2017年6月7日

conductor介绍
摘要: https://netflix.github.io/conductor/ https://github.com/Netflix/conductor 编译版: https://jcenter.bintray.com/com/netflix/conductor/ Motivation 我们建立了Cond 阅读全文
posted @ 2017-06-07 11:51 会飞の鱼 阅读(9378) 评论(0) 推荐(0)
 
mysql
摘要: self.add('CREATE USER `{}`@`%` IDENTIFIED BY %s; ' .format(self.repl_user), (self.repl_password,))self.add('GRANT SUPER, SELECT, INSERT, REPLICATION S 阅读全文
posted @ 2017-06-07 10:05 会飞の鱼 阅读(103) 评论(0) 推荐(0)
 

2017年5月29日

consul
摘要: python-consul import consul c = consul.Consul(host="192.168.111.111") c.kv.put("key","value") a = c.kv.get("key") print a ('107', {u'LockIndex': 0, u' 阅读全文
posted @ 2017-05-29 14:35 会飞の鱼 阅读(414) 评论(0) 推荐(0)
 

2017年5月26日

sdc docker连接
摘要: curl -O https://raw.githubusercontent.com/joyent/sdc-docker/master/tools/sdc-docker-setup.sh && chmod +x sdc-docker-setup.sh [root@a6c17613-5f58-ef76- 阅读全文
posted @ 2017-05-26 11:32 会飞の鱼 阅读(298) 评论(0) 推荐(0)
 

2017年5月18日

处理命令行参数
摘要: funcs=($(declare -F -p | cut -d " " -f 3))until if [ ! -z "$1" ]; then # check if the first arg is a function in this file, or use a default if [[ " $ 阅读全文
posted @ 2017-05-18 10:02 会飞の鱼 阅读(218) 评论(0) 推荐(0)
 

2017年5月17日

获取本机ip
摘要: import socketimport structimport fcntldef get_ip(iface='eth0'): """ Use Linux SIOCGIFADDR ioctl to get the IP for the interface. ref http://code.activ 阅读全文
posted @ 2017-05-17 14:05 会飞の鱼 阅读(148) 评论(0) 推荐(0)
 

2017年5月10日

linux 杂
摘要: set -e表示一旦脚本中有命令的返回值为非0,则脚本立即退出,后续命令不再执行; set -o pipefail表示在管道连接的命令序列中,只要有任何一个命令返回非0值,则整个管道返回非0值,即使最后一个命令返回0. tput rev # reverse 命令行背景反转tput bold # bo 阅读全文
posted @ 2017-05-10 18:05 会飞の鱼 阅读(131) 评论(0) 推荐(0)
 

2017年5月7日

docker 配置远程访问证书验证
摘要: centos7 生成证书 工具:openssl #cd /etc/docker (docker的证书一般放这) #openssl genrsa -aes256 -passout pass:密码 -out ca-key.pem 2048 会出现: Generating RSA private key, 阅读全文
posted @ 2017-05-07 12:22 会飞の鱼 阅读(1705) 评论(0) 推荐(0)
 
docker 配置远程访问
摘要: 系统: centos 7 Docker version 1.12.6 yum 安装的 #yum install docker docker server在192.168.111.120上 # vim /lib/systemd/system/docker.service 在 ExecStart 最后追 阅读全文
posted @ 2017-05-07 11:50 会飞の鱼 阅读(974) 评论(0) 推荐(0)
 

2017年5月4日

triton,docker,mesos
摘要: triton user: jill /root/.sdc/docker/jill 下 root@1f6af9d8-8ed9-e940-9c6c-d9505ca25896:~/.sdc/docker/jill# lltotal 8drwxr-xr-x 2 root root 6 May 4 02:39 阅读全文
posted @ 2017-05-04 13:08 会飞の鱼 阅读(316) 评论(0) 推荐(0)
 
上一页 1 ··· 36 37 38 39 40 41 下一页