Skip to content

Commit 21adff9

Browse files
committed
redis_cluster
1 parent 242e925 commit 21adff9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

redis/redis_cluster/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
```
77
bash redis.sh install
88
```
9-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster1.png)
10-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster2.png)
9+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster1.png)
10+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster2.png)
1111

1212
- 初始化配置
1313
```
@@ -16,7 +16,7 @@ bash redis.sh init 30021 30026 192.168.56.101
1616
或者
1717
curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_cluster/redis.sh | sh -s init
1818
```
19-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster3.png)
19+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster3.png)
2020

2121
- 启动redis进程
2222
```
@@ -25,32 +25,32 @@ bash redis.sh start 30021 30026 192.168.56.101
2525
或者
2626
curl -s https://gitee.com/aqztcom/kjyw/raw/master/redis/redis_cluster/redis.sh | sh -s start
2727
```
28-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster4.png)
28+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster4.png)
2929

3030
- 创建redis cluster集群
3131
```
3232
/opt/redis/bin/redis-trib.rb create --replicas 1 192.168.56.101:30021 192.168.56.101:30022 192.168.56.101:30023 192.168.56.101:30024 192.168.56.101:30025 192.168.56.101:30026
3333
```
34-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster5.png)
35-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster6.png)
34+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster5.png)
35+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster6.png)
3636

3737
- 检查redis cluster集群状态
3838
```
3939
/opt/redis/bin/redis-cli -c -h 192.168.56.101 -p 30021 -a test20200316 cluster nodes
4040
```
41-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster7.png)
41+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster7.png)
4242

4343
- 停止redis集群
4444
```
4545
bash redis.sh stop 30021 30026 192.168.56.101
4646
```
47-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster8.png)
47+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster8.png)
4848

4949
- 卸载redis集群配置
5050
```
5151
bash redis.sh uninstall
5252
```
53-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/redis_cluster9.png)
53+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/redis_cluster9.png)
5454

5555

5656

@@ -62,7 +62,7 @@ bash redis.sh uninstall
6262

6363
## 微信关注
6464

65-
![image](https://raw.githubusercontent.com/aqzt/kjyw/master/images/aqzt.jpg)
65+
![image](https://gitee.com/aqztcom/kjyw/raw/master/images/aqzt.jpg)
6666

6767
- 运维就是踩坑,踩坑的最高境界就是:踩遍所有的坑,让别人无坑可踩!
6868
- 做事的宗旨是:一条命令的事,一个脚本的事!

0 commit comments

Comments
 (0)