/root
腾讯云服务器控制台
https://console.cloud.tencent.com/
config
43.143.43.247 cloud
43.143.43.247
root
配置 路径
https://blog.csdn.net/qq_42815754/article/details/82912130
cp -r /usr/local/redis-cluster/redis7001 /usr/local/redis-cluster/redis7003
cd ..
cd /usr/local/redis-cluster/redis7003
启动
更改脚本语言格式为unix
[https://jingyan.baidu.com/article/86f4a73e49800076d65269f0.html](https://jingyan.baidu.com/article/86f4a73e49800076d65269f0.html)
startup,sh
cd /usr/local/redis-cluster
cd redis7001
./redis-server redis.conf
cd ..
cd redis7002
./redis-server redis.conf
cd ..
cd redis7003
./redis-server redis.conf
cd ..
cd redis7004
./redis-server redis.conf
cd ..
cd redis7005
./redis-server redis.conf
cd ..
cd redis7006
./redis-server redis.conf
cd ..
shutdownt,sh
cd /usr/local/redis-cluster/7001
./redis-cli -c -p 7001 shutdown
cd /usr/local/redis-cluster/7002
./redis-cli -c -p 7002 shutdown
cd /usr/local/redis-cluster/7003
./redis-cli -c -p 7003 shutdown
cd /usr/local/redis-cluster/7004
./redis-cli -c -p 7004 shutdown
cd /usr/local/redis-cluster/7005
./redis-cli -c -p 7005 shutdown
cd /usr/local/redis-cluster/7006
./redis-cli -c -p 7006 shutdown
./redis-trib.rb create --replicas 1 192.168.74.201:7001 192.168.74.201:7002 192.168.74.201:7003 192.168.74.201:7004 192.168.74.201:7005
192.168.74.201:7006
locate redis-trib
locate **
查找 ** 文件