Redis安装和启动.md

目录
  1. 安装
  2. 运行

redis官网有详细的说明:

安装

Download, extract and compile Redis with:

1
2
3
4
$ wget http://download.redis.io/releases/redis-3.2.9.tar.gz
$ tar xzf redis-3.2.9.tar.gz
$ cd redis-3.2.9
$ make

运行

The binaries that are now compiled are available in the src directory. Run Redis with:

1
$ src/redis-server

You can interact with Redis using the built-in client:

1
2
3
4
5
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
本站总访问量