apt-get install redis-server
首先修改密码
/etc/redis/redis.conf
requirepass foobared
端口
port 6379
ip
bind 0.0.0.0
然后重启
/etc/init.d/redis-erver restart
redis-dump
安装ruby和依赖,然后安装redis-dump
apt-get install ruby ruby-dev gcc
gem install redis-dump