Difference between revisions of "SVN Server Setup"
(→Add Users for authenticated Access) |
(→Add Users for authenticated Access) |
||
Line 89: | Line 89: | ||
password-db = passwd | password-db = passwd | ||
− | * Edit the password file /svnrepos/conf/passwd to add user and password | + | * Edit the password file /svnrepos/conf/passwd to add user and password (Check the file permission for local security) |
===Start the Server Daemon=== | ===Start the Server Daemon=== |
Revision as of 20:57, 21 January 2011
Contents
ON Fedora 13 (32 bit version)
OS Version
# uname -a Linux ops235.scs.net 2.6.33.3-85.fc13.i686.PAE #1 SMP Thu May 6 18:27:11 UTC 2010 i686 i686 i386 GNU/Linux
Required Package(s)
- subversion-1.6.13-1.fc13.i686
Setup Procedure
Create a Repository
svnadmin create /svnrepos
Files/Directories Created
#ls -lR /svnrepos /svnrepos: total 24 drwxr-xr-x. 2 root root 4096 Jan 21 20:47 conf drwxr-sr-x. 6 root root 4096 Jan 21 20:47 db -r--r--r--. 1 root root 2 Jan 21 20:47 format drwxr-xr-x. 2 root root 4096 Jan 21 20:47 hooks drwxr-xr-x. 2 root root 4096 Jan 21 20:47 locks -rw-r--r--. 1 root root 229 Jan 21 20:47 README.txt /svnrepos/conf: total 12 -rw-r--r--. 1 root root 1080 Jan 21 20:47 authz -rw-r--r--. 1 root root 309 Jan 21 20:47 passwd -rw-r--r--. 1 root root 2279 Jan 21 20:47 svnserve.conf /svnrepos/db: total 44 -rw-r--r--. 1 root root 2 Jan 21 20:47 current -r--r--r--. 1 root root 22 Jan 21 20:47 format -rw-r--r--. 1 root root 1920 Jan 21 20:47 fsfs.conf -rw-r--r--. 1 root root 5 Jan 21 20:47 fs-type -rw-r--r--. 1 root root 2 Jan 21 20:47 min-unpacked-rev drwxr-sr-x. 3 root root 4096 Jan 21 20:47 revprops drwxr-sr-x. 3 root root 4096 Jan 21 20:47 revs drwxr-sr-x. 2 root root 4096 Jan 21 20:47 transactions -rw-r--r--. 1 root root 2 Jan 21 20:47 txn-current -rw-r--r--. 1 root root 0 Jan 21 20:47 txn-current-lock drwxr-sr-x. 2 root root 4096 Jan 21 20:47 txn-protorevs -rw-r--r--. 1 root root 37 Jan 21 20:47 uuid -rw-r--r--. 1 root root 0 Jan 21 20:47 write-lock /svnrepos/db/revprops: total 4 drwxr-sr-x. 2 root root 4096 Jan 21 20:47 0 /svnrepos/db/revprops/0: total 4 -r--r--r--. 1 root root 50 Jan 21 20:47 0 /svnrepos/db/revs: total 4 drwxr-sr-x. 2 root root 4096 Jan 21 20:47 0 /svnrepos/db/revs/0: total 4 -r--r--r--. 1 root root 115 Jan 21 20:47 0 /svnrepos/db/transactions: total 0 /svnrepos/db/txn-protorevs: total 0 /svnrepos/hooks: total 36 -rw-r--r--. 1 root root 1977 Jan 21 20:47 post-commit.tmpl -rw-r--r--. 1 root root 1638 Jan 21 20:47 post-lock.tmpl -rw-r--r--. 1 root root 2289 Jan 21 20:47 post-revprop-change.tmpl -rw-r--r--. 1 root root 1567 Jan 21 20:47 post-unlock.tmpl -rw-r--r--. 1 root root 3426 Jan 21 20:47 pre-commit.tmpl -rw-r--r--. 1 root root 2410 Jan 21 20:47 pre-lock.tmpl -rw-r--r--. 1 root root 2786 Jan 21 20:47 pre-revprop-change.tmpl -rw-r--r--. 1 root root 2100 Jan 21 20:47 pre-unlock.tmpl -rw-r--r--. 1 root root 2780 Jan 21 20:47 start-commit.tmpl /svnrepos/locks: total 8 -rw-r--r--. 1 root root 139 Jan 21 20:47 db.lock -rw-r--r--. 1 root root 139 Jan 21 20:47 db-logs.lock
Add Users for authenticated Access
- Edit the file /svnrepos/conf/svnserve.conf and un-comment the following line to use the default password file for user authentication:
password-db = passwd
- Edit the password file /svnrepos/conf/passwd to add user and password (Check the file permission for local security)