<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; redis集群</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=redis%E9%9B%86%E7%BE%A4" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 18 Apr 2026 07:10:07 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>在win系统搭建redis集群方法</title>
		<link>http://www.lanxinbase.com/?p=1802</link>
		<comments>http://www.lanxinbase.com/?p=1802#comments</comments>
		<pubDate>Fri, 05 Jan 2018 05:20:51 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[1.服务端语言]]></category>
		<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[redis]]></category>
		<category><![CDATA[redis集群]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1802</guid>
		<description><![CDATA[我这边主要是搭建出来做测试用的，真实环境还是要使用linux。

环境需求：

Redis-win-3.2.100
Ruby-win-2.2.4-x64
Redis-3.2.2.gem(ruby驱动，需要对应redis的版本号)
Redis-trib.rb源码
1.安装Redis，并运行3个实例(Redis集群需要至少3个以上节点，低于3个无法创建)；

2.使用redis-trib.rb工具来创建Redis集群，由于该文件是用ruby语言写的，所以需要安装Ruby开发环境，以及驱动redis-xxxx.gem。

1.下载并安装Redis

GitHub路径如下：https://github.com/MSOpenTech/redis/releases/

Redis提供msi和zip格式的下载文件，这里下载zip格式3.2.100版本

将下载到的Redis-win-3.2.100.zip解压即可，为了方便使用，建议放在盘符根目录下，并修改目录名为Redis，如：C:\Redis 或者D:\Redis。当然也可以放在桌面，只要你喜欢。

通过配置文件来启动3个不同的Redis实例，由于Redis默认端口为6379，所以这里使用了7000、7001、7002来运行3个Redis实例。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1802</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
