redis-server /etc/redis/redis.conf
redis-cli -p 6379
PONG
set k1 helloworld
get ki
127.0.0.1:6379> get k1 "helloworld" 127.0.0.1:6379> quit
ps -ef|grep redis
zhaoyun 73073 1502 0 18:41 ? 00:00:25 redis-server *:6379
zhaoyun 77403 73204 0 22:14 pts/4 00:00:00 grep --color=auto redis
转:http://blog.csdn.net/xiangwanpeng/article/details/54586087
:https://www.cnblogs.com/wangchunniu1314/p/6339416.html
原文:http://www.cnblogs.com/hizf/p/7892606.html