Wednesday, April 2, 2008

subversion RH9

1.To Install SVN in RH9 you need the following RPMS:
apr-0.9.5-0.2.i386.rpm
apr-util-0.9.5-0.1.i386.rpm
neon-0.24.7-1.i386.rpm
subversion-1.2.0-1.rh90.i386.rpm
subversion-server-1.2.0-1.rh90.i386.rpm
2.Identify the machine and create the directory where the repository to be stored.
3.Issue the following command:
svnadmin create –fs-type fsfs
4.Create the user svn with the home directory as the parent directory of
5.There will be conf directory under
which consists of three files and give the permissions as shown below.
-r-s--x--- 1 root 13424 Jul 28 2005 addpasswd
-rw------- 1 svn 323 Mar 9 11:31 passwd
-rw-r--r-- 1 svn 1086 Mar 9 11:30
svnserve.conf
6.Add cvs users in passwd file.
7.Change some values in the file svnserve.conf as shown below.
anon-access = none
auth-access = write
password-db = passwd
realm = (String that identifies the repository)
8.Add the following lines to /etc/services.
svn 3690/tcp # Subversion Server
svn 3690/udp # Subversion Server

No comments: