SVN两个小命令

作者 : admin 于 2009年04月30日, 01:04:09
2009
04-30

./svnadmin create /home/sunboyu/svndata/bj1998

./svnserve -d –listen-port 端口号 -r /home/sunboyu/svndata/

/var/opt/subversion-1.4.3/bin/svn checkout svn://localhost:20002/tools ./ –username sun –password sun

SVN配置使用

作者 : admin 于 2008年08月09日, 16:16:18
2008
08-9

接这个 http://www.sunboyu.cn/2008/07/26/subversion-150-%E7%BC%96%E8%AF%91%E5%8F%82%E6%95%B0.shtml

安装完成后,可以建立仓库  svnadmin create /opt/$path

配置apache

<Location /svn>
DAV svn
SVNParentPath /opt/httpd-2.2.9/htdocs/repos
SVNListParentPath on
AuthzSVNAccessFile /opt/httpd-2.2.9/htdocs/repos/accessfile
Require valid-user
AuthType Basic
AuthName “Svn”
AuthUserFile /opt/httpd-2.2.9/htdocs/repos/passwordfile
</Location>

生成password的方法 htpasswd -s /$file username

这样就可以建立一个密码文件,在httpd中调用。在调试的时候,权限是大事

subversion-1.5.0 编译参数

作者 : admin 于 2008年07月26日, 13:39:25
2008
07-26

./configure –prefix=/opt/subversion –disable-all-static –with-apxs=/opt/httpd-2.2.9/bin/apxs –with-apr=/opt/httpd-2.2.9/bin/apr-1-config –with-apr-util=/opt/httpd-2.2.9/bin/apu-1-config –with-serf=/opt/httpd-2.2.9 –with-ssl –with-zlib=/usr/local –enable-dso –enable-mod-activation

如果编译不能通过,可能要安装 expat-1.95.8-8.2.1.i386.rpm expat-devel-1.95.8-8.2.1.i386.rpm 偷懒,直接rpm了

还有,dlname的问题,装这个 http://ftp.gnu.org/gnu/libtool/libtool-2.2.tar.gz
更正版 subversion1.5.0版本测试
./configure –prefix=/opt/subversion –disable-all-static –with-apxs=/opt/httpd-2.2.9/bin/apxs –with-apr=/opt/httpd-2.2.9/bin/apr-1-config –with-apr-util=/opt/httpd-2.2.9/bin/apu-1-config –with-serf=/opt/httpd-2.2.9 –with-ssl –with-zlib=/usr/local –enable-mod-activation –enable-runtime-module-search

./configure –prefix=/opt/subversion –disable-all-static –with-apxs=/opt/httpd-2.2.9/bin/apxs –with-apr=/opt/httpd-2.2.9/bin/apr-1-config –with-apr-util=/opt/httpd-2.2.9/bin/apu-1-config –with-serf=/opt/httpd-2.2.9 –with-ssl –with-zlib=/usr/local –enable-mod-activation –enable-runtime-module-search –enable-subdir-config –enable-experimental-libtool –enable-fast-install