美文网首页
ubuntu16.04安装redis--来自官网

ubuntu16.04安装redis--来自官网

作者: ArleyDu | 来源:发表于2016-07-23 15:31 被阅读152次

Installation

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-3.2.1.tar.gz

$ tar xzf redis-3.2.1.tar.gz

$ cd redis-3.2.1

$ make

The binaries that are now compiled are available in thesrcdirectory. 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"

详情请参见http://redis.io/download

相关文章

网友评论

      本文标题:ubuntu16.04安装redis--来自官网

      本文链接:https://www.haomeiwen.com/subject/xylwjttx.html