redis基本使用

1. install

  add-apt-repository ppa:chris-lea/redis-server
  apt-get update
  apt-get install redis-server

2. config

locate redis.conf

or:   /etc/redis/redis.conf

set port

set bing ip

.....

3. start

command: redis-server   start redis server

command:redis-cli    link to redis server 

command:redis-cli -h host -p port -a password      excute command on remote server

command:ping      check redis whether it is running...

127.0.0.1:6379> ping
PONG

command:INFO      get redis server statistics infomation...

4. manager tool

  https://redisdesktop.com/download

5. sync data to mysql:

  http://blog.csdn.net/hpb21/article/details/7905352

6. where use redis:

  http://database.51cto.com/art/201504/471158.htm

原文地址:https://www.cnblogs.com/spacepirate/p/6542134.html