sudo vi /etc/redis/redis.confredis
bind 127.0.0.1數據庫
port 6379.net
是否以守護進程運⾏server
daemonize yesblog
數據⽂件進程
dbfilename dump.rdbip
dir /var/lib/redisget
logfile "/var/log/redis/redis-server.log"配置
database 16file
slaveof
redis配置信息http://blog.csdn.net/ljphilp/article/details/52934933