浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
if you want to use redis master-slave schema,you only need is attatch a .conf file,default,there is a redis.conf file as a template in redis release package,just do two step: 1)change the port(default is 6379, since you use master-salve in same pc) 2)add a line as follows: slaveof 127.0.0.1 6379 take care:run the commond as follows: ./redis-server redis.conf Tip:the parameter redis.conf can't ignore,where i first time use this,i try to ignore the parameter,became i think i use default configuration file name,so i can save my typing character,but it can't works. hope this help you use redis smoothly

posted on 2010-03-29 09:44  lexus  阅读(432)  评论(0编辑  收藏  举报