redis 安装

wget http://download.redis.io/releases/redis-stable.tar.gz
tar xvf redis-stable.tar.gz

cd redis-stable/

make test

cd src/

make install (make test)  ----------------------installation done!

start the service::: (/usr/local/bin/)redis-server

run a client::::~$ redis-cli -p 6379
127.0.0.1:6379> info stats
# Stats
total_connections_received:1
total_commands_processed:1
instantaneous_ops_per_sec:0
total_net_input_bytes:42
...
http://www.cnblogs.com/ee900222/p/redis_1.html

posted @ 2017-05-05 19:11  Calvmy  阅读(100)  评论(0)    收藏  举报