Chinaunix首页 | 论坛 | 博客
  • 博客访问: 238189
  • 博文数量: 78
  • 博客积分: 2956
  • 博客等级: 少校
  • 技术积分: 720
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-12 15:13
文章分类

全部博文(78)

文章存档

2012年(11)

2011年(27)

2008年(30)

2007年(10)

分类: Delphi

2012-01-05 15:21:27

最新稳定版本是2.4.5,安装很简单:
  1. $ wget
  2. $ tar xzf redis-2.4.5.tar.gz
  3. $ cd redis-2.4.5
  4. $ make
集群功能还未提供,目前可通过在客户端做hash的方法来构建Redis集群。
The Redis core team is already hacking on Redis Cluster. We already have have some kind of experimental version in the unstable branch, while a Release Candidate or at least a fully working beta is expected for the end of 2011.
期待原生的集群功能。

运行:
  1. $ src/redis-server
内置客户端试用Redis:
  1. $ src/redis-cli
  2. redis> set foo bar
  3. OK
  4. redis> get foo
  5. "bar"
停止运行
  1. 在启动Redis的窗口中Ctrl-C 或
  2. src/redis-cli shutdown
阅读(1110) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~