把一台机器上的redis-cli 拷贝到另外一台机器上并使用:

rsync -avz root@10.23.27.2:/usr/bin/redis-cli .

./redis-cli

ldd `which redis-cli`

rsync -avz root@10.23.27.2:/lib64/libjemalloc.so.1 .

export LD_LIBRARY_PATH=`pwd`

redis-cli