一、下载安装
1.1 Redis官网
1.2 下载安装
wget http://download.redis.io/releases/redis-3.0.5.tar.gz
tar zxvf redis-3.0.5.tar.gz
cd redis-3.0.5
make
二、简单使用
2.1 启动Redis server
src/redis-server
2.2 使用Redis (用内建的redis-client)
src/redis-cli
set foo bar
get foo
参考资料:
Redis中文教程:https://github.com/JasonLai256/the-little-redis-book/blob/master/cn/redis.md