摘要: 摘要: 继上一篇 NoSQL之【Redis】学习(一)之后,在开始操作Redis之前,先了解redis.conf的文件:# yes:后台运行;no:不是后台运行(老版本默认)daemonize yes# redis的进程文件pidfile /var/run/redis.pid# 端口port 6379# bind_address 绑定地址的设置,和MySQL的一样,一般设置为本地地址,这样就需要指定IP访问了。如:redis -h 192.168.200.202;默认所有地址都可以连接。# bind 127.0.0.1# Redis 的 套接字 文件# unixsocket /tmp/redi 阅读全文
posted @ 2013-05-22 14:25 jyzhou 阅读(3181) 评论(0) 推荐(0) 编辑