FreeBSD + Apache22 + svn

1/# 安装apache22
cd /usr/ports/www/apache22
# make WITH_AUTH_MODULES=yes WITH_DAV_MODULES=yes \ WITH_SSL_MODULES=yes WITH_BERKELEYDB=db4 install clean

2/# 安装svn
cd /usr/ports/devel/subversion
make -D WITH_SVNSERVE_WRAPPER -D WITH_MOD_DAV_SVN -D WITH_APACHE2 with-apxs=/usr/local/www/apache22/apxs install clean

3/配置SVN
/usr/local/bin/svnadmin create /usr/svn/repo #首先创建 /usr/svn/repo
启动SVN,进行测试: /usr/local/bin/svnserve -d --listen-host 192.168.1.101 -r /usr/svn/repo

4/配置apache22 httpd.conf中增加:

<LOCATION svn>
DAV svn
SVN Path /usr/svn/repo
</LOCATION>

启动apache22: /usr/local/sbin/apachectl restart
看到accf相关的error后在loader.conf中配置:
accf_data_load="YES"
accf_http_load="YES"

原文:
http://svn.collab.net/repos/svn/trunk/INSTALL

你可能感兴趣的:(.net,SVN,FreeBSD,subversion)