Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
opcache committed May 30, 2020
1 parent 82fc364 commit e57d2aa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- 开源中国●码云地址:https://gitee.com/aqztcom/kjyw.git
- Github地址:https://github.com/aqzt/kjyw.git
- 相关使用文档:https://bbs.aqzt.com/forum-39-1.html
- 有问题反馈:https://aq2.cn/c/kjyw

## 为什么要做快捷运维?
- 相信大家都知道,运维是一项非常重要且时效性要求很高的工作,项目和程序发布,升级,更新都少不了运维的操作,
Expand All @@ -35,17 +36,17 @@
- 有没有更好的方法,可以提高效率,快速完成呢?
- 如果用脚本部署,只需要1分钟搞定,主要是编译redis时间,大大提高效率,快捷,快捷,快捷啊!
- 第一步 编译redis
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/install.sh | sh
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/install.sh | sh
- 第二步 拷贝redis执行文件,修改配置文件,并启动
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009
- 完成!
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis1.gif)
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis1.gif)
- 批量关闭redis端口 8001到8009
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s stop 8001 8009
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis2.gif)
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s stop 8001 8009
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis2.gif)
- 批量启动redis端口 8001到8009
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s start 8001 8009
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis3.gif)
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s start 8001 8009
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis3.gif)
- 快捷运维还有其他运维经常使用的脚本,方便使用,提高效率!


Expand All @@ -63,7 +64,7 @@

## 微信关注

![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/aqzt.jpg)
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/aqzt.jpg)

- 运维就是踩坑,踩坑的最高境界就是:踩遍所有的坑,让别人无坑可踩!
- 做事的宗旨是:一条命令的事,一个脚本的事!
Expand Down
17 changes: 9 additions & 8 deletions README_osc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- 开源中国●码云地址:https://gitee.com/aqztcom/kjyw.git
- Github地址:https://github.com/aqzt/kjyw.git
- 相关使用文档:https://bbs.aqzt.com/forum-39-1.html
- 有问题反馈:https://aq2.cn/c/kjyw

## 为什么要做快捷运维?
- 相信大家都知道,运维是一项非常重要且时效性要求很高的工作,项目和程序发布,升级,更新都少不了运维的操作,
Expand All @@ -35,17 +36,17 @@
- 有没有更好的方法,可以提高效率,快速完成呢?
- 如果用脚本部署,只需要1分钟搞定,主要是编译redis时间,大大提高效率,快捷,快捷,快捷啊!
- 第一步 编译redis
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/install.sh | sh
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/install.sh | sh
- 第二步 拷贝redis执行文件,修改配置文件,并启动
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s install 8001 8009
- 完成!
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis1.gif)
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis1.gif)
- 批量关闭redis端口 8001到8009
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s stop 8001 8009
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis2.gif)
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s stop 8001 8009
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis2.gif)
- 批量启动redis端口 8001到8009
- curl -s https://git.oschina.net/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s start 8001 8009
- ![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/redis3.gif)
- curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_port.sh | sh -s start 8001 8009
- ![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis3.gif)
- 快捷运维还有其他运维经常使用的脚本,方便使用,提高效率!


Expand All @@ -63,7 +64,7 @@

## 微信关注

![image](https://git.oschina.net/aqztcom/kjyw/raw/master/images/aqzt.jpg)
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/aqzt.jpg)

- 运维就是踩坑,踩坑的最高境界就是:踩遍所有的坑,让别人无坑可踩!
- 做事的宗旨是:一条命令的事,一个脚本的事!
Expand Down
10 changes: 5 additions & 5 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 快速Docker安装

## 自动yum安装Docker,Docker配置yum源
## yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
## curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
## curl -o /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
## daemon.json k8s私有可以增加 "insecure-registries":["harbor.io", "k8s.gcr.io", "gcr.io", "quay.io"],
## 卸载docker命令 yum remove -y docker-ce docker-common-*
- yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
- curl -o /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
- daemon.json k8s私有可以增加 "insecure-registries":["harbor.io", "k8s.gcr.io", "gcr.io", "quay.io"],
- 卸载docker命令 yum remove -y docker-ce docker-common-*


# 使用方法
Expand Down

0 comments on commit e57d2aa

Please sign in to comment.