redis在linux下的安装和配置

1 Installation

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-2.8.19.tar.gz
$ tar xzf redis-2.8.19.tar.gz
$ cd redis-2.8.19
$ make

The binaries that are now compiled are available in the src directory. Run Redis with:

$ src/redis-server

You can interact with Redis using the built-in client:

$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

2 测试是否安装成功

3 命令参考文档

http://redis.readthedocs.org/en/latest/

posted on 2014-12-17 10:28  BestNow  阅读(229)  评论(0编辑  收藏  举报

导航