source: svn_mirroring.txt @ 9ba102b

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 9ba102b was 9ba102b, checked in by Jim Gifford <clfs@…>, 16 years ago

Testing modifying of a document

  • Property mode set to 100644
File size: 1.7 KB
Line 
1The following port needs to open on your firewall.
2873/tcp
3
4The Following modules will need to be added to your apache
5
6LoadModule proxy_module lib/apache/mod_proxy.so
7LoadModule proxy_http_module lib/apache/mod_proxy_http.so
8
9Along with the svn ones.
10
11LoadModule dav_svn_module     lib/apache/mod_dav_svn.so
12LoadModule authz_svn_module   lib/apache/mod_authz_svn.so
13
14Copy from your subversion tarballs tools/xslt/svnindex.* to your
15/srv/www/htdocs directory.
16
17Apache httpd.conf file
18<Location /svn/repos>
19  <Limit CHECKOUT DELETE GET MERGE PROPFIND PUT OPTIONS REPORT>
20        DAV svn
21        SVNParentPath /srv/svn
22        SVNIndexXSLT /svnindex.xsl
23        AuthzSVNAccessFile /etc/svn/svn_auths
24        Satisfy Any
25        Require valid-user
26        AuthType Basic
27        AuthName "Subversion Repository"
28        AuthUserFile /etc/svn/svn_users
29  </Limit>
30 <LimitExcept CHECKOUT GET MERGE PROFIND PUT OPTIONS REPORT>
31       ProxyPass http://svn.cross-lfs.org/svn/repos
32       ProxyPassReverse http://svn.cross-lfs.org/svn/repos
33</LimitExcept>
34</Location>
35</Location>
36
37
38Follow the BLFS instructions to install rsync daemon
39
40You will need to setup rsyncd to allow files to be transferred in
41after a commit.
42
43Here is a our /etc/rsyncd.conf
44
45---start
46motd file = /home/rsync/welcome.msg
47use chroot = yes
48
49uid = rsync
50gid = rsync
51
52[clfs]
53        path = /srv/svn/cross-lfs
54        comment = CLFS svn rsync module
55        read only = no
56        list = yes
57        uid = apache
58        hosts allow = 209.172.44.8
59        secrets file = /etc/rsyncd.secrets
60---end
61
62Here is an the /etc/rsyncd.secrets
63
64---start
65clfs:clfs
66---end
67
68After you get that setup you will need to run the following commands
69to make your repo active.
70
71install -d /srv/svn
72svnadmin create cross-lfs
73chown apache:root cross-lfs -R
74
75rsync -avz cross-lfs.org::clfs /srv/svn/cross-lfs/db
Note: See TracBrowser for help on using the repository browser.