您的位置:首页 > 数据库 > Redis

linux安装redis官方教程

2016-06-29 18:04 591 查看
官方链接:http://redis.io/download


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 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"

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: