SVN两个小命令
04-30
接这个 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中调用。在调试的时候,权限是大事
./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
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
|---|---|---|---|---|---|---|
| « 一 | ||||||
| 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 | 28 | 29 | ||||