redis 集群常用命令
systemctl start redis.service #redis 启动
redis-server /etc/redis.conf #redis 加载配置文件启动
redis-cli -h 192.168.1.103 -p 6379
redis-cli -h 192.168.15.78 -p 6379 -c 集群进入
systemctl start redis.service #redis 启动
redis-server /etc/redis.conf #redis 加载配置文件启动
redis-cli -h 192.168.1.103 -p 6379
redis-cli -h 192.168.15.78 -p 6379 -c 集群进入