策码兄弟
摘要: 1.此处用的是增量同步 #!/bin/bash rm -rf /var/log/nginx/access.log.*.* local_host="`hostname --i`" aws s3 sync /var/log/nginx/ s3://cjtt-nginx/access/`date +%Y- 阅读全文
posted @ 2018-03-16 16:30 策码秀才 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1 换源: # curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null # echo 'deb https://mirrors.tuna.tsinghua.edu.cn/gitlab 阅读全文
posted @ 2018-03-16 15:16 策码秀才 阅读(113) 评论(0) 推荐(0) 编辑
策码兄弟