<?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>Neo&#039;s notes &#187; nosql</title>
	<atom:link href="http://www.neocanable.com/category/nosql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neocanable.com</link>
	<description>记录一些琐碎的技术问题&#124;发泄胸中的各种不满</description>
	<lastBuildDate>Tue, 17 Jan 2012 05:37:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>install redis</title>
		<link>http://www.neocanable.com/install-redis/</link>
		<comments>http://www.neocanable.com/install-redis/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 19:51:05 +0000</pubDate>
		<dc:creator>Neo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nosql]]></category>

		<guid isPermaLink="false">http://www.neocanable.com/?p=686</guid>
		<description><![CDATA[安装 download redis from : http://redis.io/download 1. tar xzvf redis-version.tar.gz 2. cp redis-version/redis.cnf 到 /etc/下面 cp redis-version/utils/redis_init_script到/etc/init.d/下面 cp src/redis-server 和 src/redis-cli 到/usr/local/bin下面 3.修改/etc/redis.cnf REDISPORT=6379 EXEC=/usr/local/bin/redis-server CLIEXEC=/usr/local/bin/redis-cli PIDFILE=/var/run/redis_${REDISPORT}.pid CONF=&#34;/etc/redis/${REDISPORT}.conf&#34; 4. /etc/init.d/redis start Tips about config file 1.redis默认得log是stdout,并且将bash做为自己得守护进程，如果bash进程挂掉了，那么redis-server就会退出。 修改redis.conf daemonize yes 待续&#8230;&#8230;]]></description>
			<content:encoded><![CDATA[<li>安装</li>
<p>download redis from : http://redis.io/download </p>
<p>1. tar xzvf redis-version.tar.gz</p>
<p>2. cp redis-version/redis.cnf 到 /etc/下面<br />
    cp redis-version/utils/redis_init_script到/etc/init.d/下面<br />
    cp src/redis-server 和 src/redis-cli 到/usr/local/bin下面</p>
<p>3.修改/etc/redis.cnf</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">REDISPORT</span>=<span style="color: #000000;">6379</span><br />
<span style="color: #007800;">EXEC</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>redis-server<br />
<span style="color: #007800;">CLIEXEC</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>redis-cli<br />
<br />
<span style="color: #007800;">PIDFILE</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>redis_<span style="color: #800000;">${REDISPORT}</span>.pid<br />
<span style="color: #007800;">CONF</span>=<span style="color: #ff0000;">&quot;/etc/redis/<span style="color: #007800;">${REDISPORT}</span>.conf&quot;</span></div></div>
<p>4. /etc/init.d/redis start</p>
<li>Tips about config file</li>
<p>1.redis默认得log是stdout,并且将bash做为自己得守护进程，如果bash进程挂掉了，那么redis-server就会退出。<br />
修改redis.conf</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">daemonize <span style="color: #c20cb9; font-weight: bold;">yes</span></div></div>
<p>待续&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.neocanable.com/install-redis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

