<?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>Leo の Blog &#187; udfs</title>
	<atom:link href="http://blog.openider.com/archives/tag/udfs/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.openider.com</link>
	<description>Where there is a will there is a way! Trust youself can do it!</description>
	<lastBuildDate>Thu, 27 Aug 2009 10:42:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>安装 libmemcached, memcache_functions_mysql</title>
		<link>http://blog.openider.com/archives/95</link>
		<comments>http://blog.openider.com/archives/95#comments</comments>
		<pubDate>Wed, 17 Jun 2009 05:04:55 +0000</pubDate>
		<dc:creator>Guya</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[libmemcached]]></category>
		<category><![CDATA[udfs]]></category>

		<guid isPermaLink="false">http://blog.openider.com/?p=95</guid>
		<description><![CDATA[我们到目标是 mysql 同步更新 memcache 服务器. 为此我们给它装上必要到软件. 现在要安装的是 libmemcache 和 memcache_functions_mysql 两个软件包. 下载地址为:
libmemcached: http://download.tangent.org/libmemcached-0.30.tar.gz
memcache_functions_mysql: http://download.tangent.org/memcached_functions_mysql-0.8.tar.gz
安装libmemcached需要装机器上已经安装 memcache, 这个前面已经有介绍. 这里不再说明.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
wget http://download.tangent.org/libmemcached-0.30.tar.gz
&#160;
wget http://download.tangent.org/memcached_functions_mysql-0.8.tar.gz
&#160;
tar -zxf libmemcached-0.30.tar.gz
&#160;
tar -zxf memcached_functions_mysql-0.8.tar.gz
&#160;
cd libmemcached-0.30
&#160;
./configure
&#160;
make
&#160;
sudo make install
&#160;
sudo ln -s /usr/local/lib/libmemcached.so.2 /usr/lib/
&#160;
cd ../memcached_functions_mysql-0.8
&#160;
./configure --with-mysql=/usr/local/mysql/bin/mysql_config --libdir=/usr/local/mysql/lib/
&#160;
make
&#160;
sudo make install
&#160;
/usr/local/mysql/bin/mysql -u root -p

说明一下. libmemcached 安装后要装 /usr/lib 里建一个链接, 不然 memcache_functions_mysql 包编译不过. 它会提示 找不到 libmemcached.
如果编译安装的 mysql 装编译 memcache_functions_mysql 包时 使用参数 --libdir=/usr/local/mysql/lib/mysql/ 假设 [...]]]></description>
		<wfw:commentRss>http://blog.openider.com/archives/95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
