cd /usr/local/etc/
vim redis.conf
绑定IP
bind 192.168.10.XX
启动:
./redis-server ../etc/redis.conf
redis 集群登录操作
redis-cli -h 192.168.10.41 -p 6379
select 12
flushdb
cd /usr/local/etc/
vim redis.conf
绑定IP
bind 192.168.10.XX
启动:
./redis-server ../etc/redis.conf
redis 集群登录操作
redis-cli -h 192.168.10.41 -p 6379
select 12
flushdb