Changeset d9f6c44 for svn_mirroring.txt
- Timestamp:
- Sep 27, 2006, 5:35:22 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ab3ce39
- Parents:
- 2271acc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
svn_mirroring.txt
r2271acc rd9f6c44 1 1 The following port needs to open on your firewall. 2 8 73/tcp2 80/tcp 3 3 4 4 The Following modules will need to be added to your apache, you … … 37 37 </Location> 38 38 39 --SVN Setup 39 40 40 Follow the BLFS instructions to install rsync daemon 41 Create a cross-lfs Repo locally 41 42 42 You will need to setup rsyncd to allow files to be transferred in 43 after a commit.43 Change into the directory where you want to create the repo at, 44 normally this is /srv/svn. The run the following command. 44 45 45 Here is a our /etc/rsyncd.conf. You will need to change the uid = apache to 46 what ever user is running apache. 46 svnadmin create cross-lfs 47 47 48 ---start 49 motd file = /home/rsync/welcome.msg 50 use chroot = yes 48 -- 49 Create pre-revprop-change 51 50 52 uid = rsync 53 gid = rsync 51 Now change into the /srv/svn/cross-lfs and run the follow commands 52 to create pre-revprop-change 54 53 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 54 cat > hooks/pre-revprop-change << "EOF" 55 #!/bin/sh 56 EOF 57 chmod 755 hooks/pre-revprop-change 64 58 65 Here is an the /etc/rsyncd.secrets 59 -- 60 Make sure apache has full access, this assumes your are in /srv/svn 66 61 67 ---start 68 clfs:clfs 69 ---end 62 chown {myapacheuser}:root * -R 70 63 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 -- 65 Intialize the Repo via syncsnc 74 66 75 install -d /srv/svn 76 svnadmin create cross-lfs 77 chown apache:root cross-lfs -R 67 svnsync init http://{myapacheip}/svn/repos/cross-lfs http://svn.cross-lfs.org/svn/repos/cross-lfs 78 68 79 rsync -avz cross-lfs.org::clfs /srv/svn/cross-lfs/db 69 -- 70 Do the Initial Sync 71 72 svnsync sync http://{myapacheip}/svn/repos/cross-lfs
Note:
See TracChangeset
for help on using the changeset viewer.