export REDISCLI_AUTH=123
2021-02-22export REDISCLI_AUTH=123
#!/bin/bash
export REDISCLI_AUTH=123
/usr/local/bin/redis-cli --cluster create 172.16.90.177:7103 172.16.90.178:7103 172.16.90.179:7103 172.16.90.177:7104 172.16.90.178:7104 172.16.90.179:7104 --cluster-replicas 1
/usr/local/bin/redis-cli -c -h ${IP} -p 7103
分类:Linux | 标签: |