本机安装-单机
wget http://download.redis.io/releases/redis-2.8.17.tar.gz
cd /var
tar xzf /root/redis-2.8.17.tar.gz
cd redis-2.8.17/
make
cd src
nohup ./redis-server &tail -f nohup.out 或者 nohup ./redis-server &
./redis-cli
set test 213
get test
docker安装
docker run -itd --name local_redis -p 6379:6379 redis