1.Download
Website:[url]http://redis.io/download[/url]
Download lastest and stable version(My version is 2.4.6)
2.Installation
(1)Extract and compile redis with:
The binaries that are now compiled are available in the src directory. Run Redis with:
You can interact with Redis using the built-in client:
Website:[url]http://redis.io/download[/url]
Download lastest and stable version(My version is 2.4.6)
2.Installation
(1)Extract and compile redis with:
# tar xzf redis-2.4.6.tar.gz
# cd redis-2.4.6
# makeThe binaries that are now compiled are available in the src directory. Run Redis with:
# src/redis-serverYou can interact with Redis using the built-in client:
# src/redis-cli
redis 127.0.0.1:6379> set foo bar
OK
redis 127.0.0.1:6379> get foo
"bar"
Redis安装与基本使用
本文介绍了如何从官网下载Redis稳定版本,并提供了详细的安装步骤。包括解压、编译及运行Redis的方法,还演示了如何使用内置客户端进行简单的交互操作。
884

被折叠的 条评论
为什么被折叠?



