Changeset d9f6c44 for svn_mirroring.txt


Ignore:
Timestamp:
Sep 27, 2006, 5:35:22 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ab3ce39
Parents:
2271acc
Message:

Updating svn mirror for Subversion 1.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • svn_mirroring.txt

    r2271acc rd9f6c44  
    11The following port needs to open on your firewall.
    2 873/tcp
     280/tcp
    33
    44The Following modules will need to be added to your apache, you
     
    3737</Location>
    3838
     39--SVN Setup
    3940
    40 Follow the BLFS instructions to install rsync daemon
     41Create a cross-lfs Repo locally
    4142
    42 You will need to setup rsyncd to allow files to be transferred in
    43 after a commit.
     43Change into the directory where you want to create the repo at,
     44normally this is /srv/svn. The run the following command.
    4445
    45 Here is a our /etc/rsyncd.conf. You will need to change the uid = apache to
    46 what ever user is running apache.
     46svnadmin create cross-lfs
    4747
    48 ---start
    49 motd file = /home/rsync/welcome.msg
    50 use chroot = yes
     48--
     49Create pre-revprop-change
    5150
    52 uid = rsync
    53 gid = rsync
     51Now change into the /srv/svn/cross-lfs and run the follow commands
     52to create pre-revprop-change
    5453
    55 [clfs]
    56         path = /srv/svn/cross-lfs
    57         comment = CLFS svn rsync module
    58         read only = no
    59         list = yes
    60         uid = apache
    61         hosts allow = 209.172.44.8
    62         secrets file = /etc/rsyncd.secrets
    63 ---end
     54cat > hooks/pre-revprop-change << "EOF"
     55#!/bin/sh
     56EOF
     57chmod 755 hooks/pre-revprop-change
    6458
    65 Here is an the /etc/rsyncd.secrets
     59--
     60Make sure apache has full access, this assumes your are in /srv/svn
    6661
    67 ---start
    68 clfs:clfs
    69 ---end
     62chown {myapacheuser}:root * -R
    7063
    71 After you get that setup you will need to run the following commands
    72 to make your repo active. You will need to change the apache:root to
    73 whatever user is running apache.
     64--
     65Intialize the Repo via syncsnc
    7466
    75 install -d /srv/svn
    76 svnadmin create cross-lfs
    77 chown apache:root cross-lfs -R
     67svnsync init http://{myapacheip}/svn/repos/cross-lfs http://svn.cross-lfs.org/svn/repos/cross-lfs
    7868
    79 rsync -avz cross-lfs.org::clfs /srv/svn/cross-lfs/db
     69--
     70Do the Initial Sync
     71
     72svnsync sync http://{myapacheip}/svn/repos/cross-lfs
Note: See TracChangeset for help on using the changeset viewer.