摘要: aws CLI是什么东西,暂且先不去了解,目前的需求是s3. 我在Jenkins上创建一个bucket,然后申请access_key,然后就可以使用s3来存储数据了。也就是说,s3就是一个网盘。 1.安装CLI 文档:http://docs.aws.amazon.com/cli/latest/use 阅读全文
posted @ 2016-05-17 22:14 Ryan.Miao 阅读(6417) 评论(0) 推荐(0) 编辑
摘要: 采用官方工具导出mongo数据为json格式 文档:https://docs.mongodb.com/manual/reference/program/mongoexport/ 可以远程导出,只要有host:port即可。 首先需要安装tools: 在redhat中: 文档:https://docs 阅读全文
posted @ 2016-05-17 21:22 Ryan.Miao 阅读(3796) 评论(0) 推荐(0) 编辑
摘要: the basic shell skills. Bourne shell sh ksh Bash psh zsh C shell csh tcsh sh ksh Bash psh zsh csh tcsh [root@bogon temp]# cat /etc/shells /bin/sh /bin 阅读全文
posted @ 2016-05-17 21:01 Ryan.Miao 阅读(230) 评论(0) 推荐(0) 编辑
摘要: learn the auth of Linux. Generally, r-x w: write , modify and delete -2 r: read -4 x: execute -1 A file has 3 auth show: -owner -group -other 当时用sudo的 阅读全文
posted @ 2016-05-17 21:00 Ryan.Miao 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 遇到要在Linux上处理json的请求,换了熟悉的环境就抓瞎了,需要用心学习基础知识。 jq官网:https://stedolan.github.io/jq 1.install yum install jq 在公司的centos6.3上这样安装成功了,然而自己电脑7.5安装失败,采用源码安装 git 阅读全文
posted @ 2016-05-17 20:56 Ryan.Miao 阅读(949) 评论(0) 推荐(0) 编辑
摘要: 使用Linux,初学使用root不要太方便,工作中却不会给你这样的,必须要用自己的账号。新账号需要添加sudo的权限。 root ALL=(ALL) ALL 这里nopasswd是为了sudo的时候不用确认密码 阅读全文
posted @ 2016-05-17 20:49 Ryan.Miao 阅读(700) 评论(0) 推荐(0) 编辑