liuxiaozhao

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

下载:http://redis.io/download

redis-3.0.6.tar.gz

 

2、解压 tar xzf redis-3.0.6.tar.gz

3、进入目录 cd redis-3.0.6

4、安装  make

运行数据库

[root@infa redis-3.0.6]# src/redis-server

 

然后在另外的ssh连接中访问:

[root@infa redis-redis-3.0.6]# src/redis-cli

127.0.0.1:6379> set name chenzhou

OK

127.0.0.1:6379> get name

"chenzhou"

127.0.0.1:6379> 

 

安装成功!

 

linux redis c client 官方自带的。

 具体:

http://redis.io/clients

linux redis c++ client 非官方的

 

https://github.com/mrpi/redis-cplusplus-client

 

 

 http://blog.csdn.net/youngqj/article/details/8266177

 

http://blog.csdn.net/hj19870806/article/details/8724907

posted on 2016-01-27 13:15  liuxiaozhao  阅读(115)  评论(0编辑  收藏  举报