redis安装与测试

来源:互联网 发布:神州数码程序员 编辑:程序博客网 时间:2024/05/16 06:36

Installation

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-2.8.3.tar.gz$ tar xzf redis-2.8.3.tar.gz$ cd redis-2.8.3$ 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-cliredis> set foo barOKredis> get foo"bar"
0 0
原创粉丝点击