1.在Linux上redis的安装时十分简单的:
第一步:wget http://download.redis.io/releases/redis-2.8.12.tar.gz
解压: tar zxvf redis-2.8.12.tar.gz
进入目录: cd redis-2.8.12
编译:make
启动并运行redis:src/redis-server
新开一个终端:cd redis-2.8.12
运行redis客户端: src/redis-cli
[root@classb-fund5 redis-2.8.12]# src/redis-cli 127.0.0.1:6379> set mykey myval OK 127.0.0.1:6379> get mykey "myval"