*Redis下载
Redis 版本号采用标准惯例:主版本号.副版本号.补丁级别,一个副版本号就标记为一个标准发行版本,例如 1.2,2.0,2.2,2.4,2.6,2.8,奇数的副版本号用来表示非标准版本,例如2.9.x发行版本是Redis 3.0标准版本的非标准发行版本。
-
Stable (3.0)
Redis 3.0 introduces Redis Cluster, a distributed implementation of Redis with automatic data sharding and fault tolerance, important speed improvements under certain workloads, improved AOF rewriting, and more. -
Testing (3.2)
Redis 3.2 contains significant changes to the API and implementation of Redis. A new set of commands for Geo indexing was added (GEOADD, GEORADIUS and related commands). Memory optimizations. Lua scripts can now contain side effects using the new effect replication. A complete remote Lua debugger is availble in order to make writing scripts a simpler task. Read the release notes for the full set of changes. -
Unstable
This is where all the development happens. Only for hard-core hackers. Use only if you need to test the latest features or performance improvements. In a couple of months this is going to be frozen and used as the base for 3.2.
*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教程.