Redis Cluster集群管理工具redis-trib.rb 详解(一)
redis-cli -h 127.0.0.1 -p 6379 -a zzs888
./src/redis-trib.rb help
其实我一直在你身边
redis-cli -h 127.0.0.1 -p 6379 -a zzs888
./src/redis-trib.rb help
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
rvm install ruby 2.3.1
/usr/local/redis/bin/redis-server /usr/local/redis-cluster/800*/redis.conf
./redis-trib.rb create –replicas 1 10.25.55.34:8001 10.25.55.34:8002
scp -P 22 redis-3.0.6.tar root@140.82.16.8:/opt
./src/redis-server redis.conf &
./src/redis-cli -p 6379
slaveof 47.97.104.146 6379
SET key value
GET key
SETNX key value
ps -aux | grep redis
ll /proc/1814/cwd
tar -cvf base.tar base/
tar -tf base.tar.gz
tar -tf base.tar.gz
diff t1.txt t2.txt
diff -y t1.txt t2.tx
vimdiff t1.txt t2.txt
find . -name “*.c”
find . -type f
find . -size 0 -ls