Linux上安装redis的步骤-----------redis学习(1)

来源:互联网 发布:淘宝一个月赚两万 编辑:程序博客网 时间:2024/06/04 23:36

Download, extract and compile Redis with:

$ wget http://download.redis.io/releases/redis-3.2.4.tar.gz$ tar xzf redis-3.2.4.tar.gz$ cd redis-3.2.4$ 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-cliredis> set foo barOKredis> get foo"bar"
0 0
原创粉丝点击