05 2016 档案

摘要:git clone https://github.com/CodisLabs/codis.git1:下载go环境 官网:https://golang.org/doc/installwget https://storage.googleapis.com/golang/go1.6.2.linux-amd 阅读全文
posted @ 2016-05-31 15:54 玩石 阅读(447) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bashfor ip in `cat iplist`do scp -P65422 openssl-1.0.1t.tar.gz 192.168.1.$ip:/home/test scp -P 65422 ssl.sh 192.168.1.$ip:/home/test ssh -p 654 阅读全文
posted @ 2016-05-31 15:53 玩石 阅读(644) 评论(0) 推荐(0) 编辑
摘要:由于本地web服务器上部署了多个应用,如果单个应用发布的情况下,以前的shell脚本不能满足自动化要求: [[ $1 == "api" ]]&&{ des1=/opt/vhosts/open for m in 192.168.1.$3;do echo "sending file $2 to remo 阅读全文
posted @ 2016-05-24 16:51 玩石 阅读(1386) 评论(0) 推荐(0) 编辑
摘要:git clone https://github.com/CodisLabs/codis.git1:下载go环境 官网:https://golang.org/doc/installwget https://storage.googleapis.com/golang/go1.6.2.linux-amd 阅读全文
posted @ 2016-05-04 15:42 玩石 阅读(4084) 评论(0) 推荐(0) 编辑