*Redis下载

Redis 版本号采用标准惯例:主版本号.副版本号.补丁级别,一个副版本号就标记为一个标准发行版本,例如 1.2,2.0,2.2,2.4,2.6,2.8,奇数的副版本号用来表示非标准版本,例如2.9.x发行版本是Redis 3.0标准版本的非标准发行版本。

*Other versions

Old (2.8)

Redis 2.8 is the older stable version of Redis. It provided significant improvements over version 2.6, such as replication partial resynchronization, IPv6 support, config rewriting, keyspace changes notifications via Pub/Sub, and more.
See the release notes or download 2.8.24.

Windows

The Redis project does not officially support Windows. However, the Microsoft Open Tech group develops and maintains this Windows port targeting Win64. Learn more

*Other

Historical downloads are still available on Google Code.

Scripts and other automatic downloads can easily access the tarball of the latest Redis stable version at http://download.redis.io/redis-stable.tar.gz. The source code of the latest stable release is always browsable here, use the file src/version.h in order to extract the version in an automatic way.

*How to verify files for integrity

The Github repository redis-hashes contains a README file with SHA1 digests of released tarball archives. Note: the generic redis-stable.tar.gz tarball does not match any hash because it is modified to untar to the redis-stable directory.

*如何安装

下载,解压,编译:

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

二进制文件是编译完成后在src目录下. 运行如下:

$ src/redis-server

你能使用Redis的内置客户端进行进行redis代码的编写:

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

你是redis新手吗?可以下看看我们制作的教程: redis教程.