手工创建redis集群

1: http://download.redis.io/releases/redis-3.2.8.tar.gz  redis官方下载地址:

2: 使用xftp将redis压缩包上传到 /usr/local目录下执行命令 tar -zxvf  redis-3.2.8.tar.gz

3: cd /usr/local/redis-3.2.8    make   make install

4: cd /usr/local/redis-3.2.8/confls cp redis.conf /usr/local/redis/

5: vim redis.conf 开启后台运行mv redis.conf redis6379.conf

6: 按照上述步骤4,5分别将redis端口号修改为6380,6381,6382,6383,6384,6385,6386六台redis

7: cd /usr/local/binredis-server /usr/local/redis/redis6379.conf将六台redis服务启动.




你可能感兴趣的:(手工创建redis集群)