首页 > 系统服务 > 详细

在Ubuntu上安装Redis

时间:2015-03-13 18:39:19      阅读:311      评论:0      收藏:0      [点我收藏+]
Installation

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-2.8.19.tar.gz
$ tar xzf redis-2.8.19.tar.gz
$ cd redis-2.8.19
$ 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-cli
redis> set foo bar
OK
redis> get foo
"bar"

注释:如果要运行命令,必须在redis-2.8.19目录下。如果打开命令终端,可以输入命令 cd redis-2.8.19打开命令。

在Ubuntu上安装Redis

原文:http://www.cnblogs.com/SuperLiangG/p/4335622.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!