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 集群进入
转载于:https://www.cnblogs.com/tonyauto/p/9618243.html