环境: 一台CentOS虚拟机上部署六个节点,创建3个master,3个slave节点 1.下载并解压 cd /root wget http://download.redis.io/releases/redis-3.2.4.tar.gz tar -zxvf redis-3.2.4.tar.gz 2.编译并安装 cd redis-3.2.4 make && make install 3.将 redis-trib.rb 复制到 /usr/local/bin 目录下 cd src cp redi
1.先看redis.windows.conf 文件 # Redis configuration file example # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # # 1k => bytes # 1kb => bytes # 1m => bytes # 1mb => * bytes