<?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; apache</title>
	<atom:link href="http://www.doyj.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doyj.com</link>
	<description>Laputa - 远方地平线，闪耀着光芒</description>
	<lastBuildDate>Thu, 10 Nov 2011 17:24:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>在Windows的Apache 2.2上安装mod_python 3.2.10</title>
		<link>http://www.doyj.com/2006/11/12/%e5%9c%a8windows%e4%b8%8b%e7%9a%84apache-22%e4%b8%8b%e5%ae%89%e8%a3%85mod_python-3210/</link>
		<comments>http://www.doyj.com/2006/11/12/%e5%9c%a8windows%e4%b8%8b%e7%9a%84apache-22%e4%b8%8b%e5%ae%89%e8%a3%85mod_python-3210/#comments</comments>
		<pubDate>Sun, 12 Nov 2006 00:53:54 +0000</pubDate>
		<dc:creator>oldmonk</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.doyj.com/2006/11/12/%e5%9c%a8windows%e4%b8%8b%e7%9a%84apache-22%e4%b8%8b%e5%ae%89%e8%a3%85mod_python-3210/</guid>
		<description><![CDATA[想给自己的Apache服务器安装mod_python, 在mod_python主页只能看到3.2.8 for windows, 这个版本只能在Apache 2.0下工作。找了半天，在china-django.com, 找到了爱好者自己编译出来的mod_python 3.2.10 for windows。 安... ]]></description>
			<content:encoded><![CDATA[<p>想给自己的Apache服务器安装mod_python, 在mod_python主页只能看到3.2.8 for windows, 这个版本只能在Apache 2.0下工作。找了半天，在<a target="_blank" href="http://www.china-django.com/download/">china-django.com</a>, 找到了爱好者自己编译出来的mod_python 3.2.10 for windows。 安装的时候发现还需要一个msvcr71.dll， 原来是VC 7.1 的一个动态库，从别的机器上拷过来就好了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doyj.com/2006/11/12/%e5%9c%a8windows%e4%b8%8b%e7%9a%84apache-22%e4%b8%8b%e5%ae%89%e8%a3%85mod_python-3210/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion不完全安装笔记</title>
		<link>http://www.doyj.com/2006/09/13/subversion%e4%b8%8d%e5%ae%8c%e5%85%a8%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/</link>
		<comments>http://www.doyj.com/2006/09/13/subversion%e4%b8%8d%e5%ae%8c%e5%85%a8%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/#comments</comments>
		<pubDate>Wed, 13 Sep 2006 07:03:15 +0000</pubDate>
		<dc:creator>oldmonk</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.doyj.com/2006/09/13/subversion%e4%b8%8d%e5%ae%8c%e5%85%a8%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/</guid>
		<description><![CDATA[昨天深夜开始安装Subversion，折腾了很久，终于搞定。 把过程写出来与大家分享，整个安装过程主要参考了 http://www.jlchannel.com/blog/?p=104 和 http://www.newbooks.com.cn/info/52691.html。 安装环境为 内核：L... ]]></description>
			<content:encoded><![CDATA[<p>昨天深夜开始安装<a href="http://subversion.tigris.org/">Subversion</a>，折腾了很久，终于搞定。 把过程写出来与大家分享，整个安装过程主要参考了 <a href="http://www.jlchannel.com/blog/?p=104">http://www.jlchannel.com/blog/?p=104</a> 和 <a href="http://www.newbooks.com.cn/info/52691.html">http://www.newbooks.com.cn/info/52691.html</a>。</p>
<p>安装环境为</p>
<p>内核：Linux version 2.6.9-34.ELsmp<br />
操作系统：Red Hat Enterprise Linux AS release 4 (Nahant Update 3)</p>
<p>Web Server: Apache 2.0 ( Web server必须是Apache 2.0以上,Subversion数据库才能通过http协议去访问)</p>
<ol>
<li>先到<a href="http://subversion.tigris.org">http://subversion.tigris.org</a> 下载最新的文件， 分别是subversion-1.4.0.tar.gz 和 subversion-deps-1.4.0.tar.gz</li>
<li>将文件包解压<br />
tar zxvf subversion-1.4.0.tar.gz<br />
tar zxvf subversion-deps-1.4.0.tar.gz</li>
<li>开始编译<br />
cd subversion-1.4.0<br />
./congiure<br />
make<br />
make install在我用的系统里被安装到了 /usr/local/bin</li>
<li>编辑http.conf<br />
加入下面的两行<br />
LoadModule dav_svn_module modules/mod_dav_svn.so<br />
LoadModule authz_svn_module modules/mod_authz_svn.so<br />
DAV svn<br />
SVNParentPath /data/svn <font color="#008000">//svn父目录<br />
</font><br />
Require valid-user <font color="#008000">//采用何种认证<br />
</font>AuthType Basic <font color="#008000">//连接类型设置<br />
</font>AuthName “Subversion repository” <font color="#008000">//连接框提示<br />
</font>AuthzSVNAccessFile /data/svn/accessfile <font color="#008000">//权限配置文件<br />
</font>AuthUserFile /data/svn/passwdfile   <font color="#008040">//用户配置文件<br />
</font></li>
<li>创建数据目录<br />
cd /data<br />
mkdir svn<font color="#000000">svnadmin create /data/svn/test </font><font color="#008000">//创建测试目录<br />
</font><font color="#008000"><br />
</font>chown -R nobody /data/svn  <font color="#008000">//很重要，否则从apache访问不了<br />
</font></li>
<li><font>管理用户<br />
htpasswd /data/svn/passwdfile admin  //添加用户</font></li>
<li><font>权限设置<br />
编辑 /data/svn/accessfile<br />
加入<br />
</font>[test:/] //这表示，仓库test的根目录下的访问权限<br />
admin = rw //test仓库admin用户具有读写权限</li>
<li>重起Apache<br />
/usr/local/apache/bin/apachectl restart</li>
<li>服务器端安装完毕<br />
从http://www.xxxx.com/svn/test 就能够访问了</li>
<li>安装客户端<br />
从<a href="http://tortoisesvn.tigris.org/">http://tortoisesvn.tigris.org/</a> 下载<strong>TortoiseSVN。</strong>一个WIndows资源管理器插件， 把Subversion客户端和资源管理器近乎完美的结合到了一起，现在就可以开始用了。 Let&#8217;s GO!</li>
</ol>
<p>后记:</p>
<p>要注意的还有如下几点：</p>
<ol>
<li>服务器端的运行方式除了通过http访问外，还可以是用svn自己的服务器运行，但没有尝试</li>
<li>svn存储数据有两种方式，一种是文件，一种是berklydb, 但是没有让我选择。</li>
<li>Subversion服务器端全靠字符界面来配置，自己手动写配置文件，很麻烦， 尤其是要对整个项目树进行精确的权限管理的时候。 有个Web界面的配置工具 <a href="http://svnmanager.sourceforge.net/">SVNManager</a>，应该能节省很多力气。可惜因为php5安装出现莫名奇妙的问题而没有尝试成功，如果有尝试成功的还请给出测试报告。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.doyj.com/2006/09/13/subversion%e4%b8%8d%e5%ae%8c%e5%85%a8%e5%ae%89%e8%a3%85%e7%ac%94%e8%ae%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

