1. Install SVN
To install subversion, you must first install other packages. (Apr, APR-util, neon)
[Root @ Linux9 install] # rpm-IVH subversion-1.4.4-1.i386.rpm
Error: Failed dependencies:
APR> = 0.9.7 is needed by subversion-1.4.4-1
Apr-util> = 0.9.7 is needed by subversion-1.4.4-1
Libapr-0.so.0 is needed by subversion-1.4.4-1
Libaprutil-0.so.0 is needed by subversion-1.4.4-1
Libneon. so.24 is needed by subversion-1.4.4-1
Neon> = 0.24.7 is needed by subversion-1.4.4-1
[Root @ Linux9 install] # rpm-IVH apr-0.9.12-1.i386.rpm
Preparing... ######################################## ### [100%]
1: APR ####################################### #### [100%]
[Root @ Linux9 install] # rpm-IVH apr-util-0.9.12-1.i386.rpm
Preparing... ######################################## ### [100%]
1: apr-util ##################################### ###### [100%]
[Root @ Linux9 install] # rpm-IVH neon-0.24.7-1.i386.rpm
Preparing... ######################################## ### [100%]
1: neon ####################################### #### [100%]
[Root @ Linux9 install] # rpm-IVH subversion-1.4.4-1.i386.rpm
Preparing... ######################################## ### [100%]
1: subversion ####################################### #### [100%]
2. Create a database
Svnadmin create/root/SVN/repos/
3. Start the database
Svnserve-d-r/root/SVN/repos/-- listen-port 9999
If you do not add "-- listen-port 9999", the default port is 3690.
4. Configure svnserve. conf
[Root @ Linux9 repos1] # vi svnserve. conf
[General]
Anon-access = none
Auth-access = write
Password-DB = passwd
Authz-DB = authz
5 configure passwd
Snoopy = Password
6 configure authz
[Root @ Linux9 conf] # vi authz
[Groups]
Admin = Snoopy
[/]
@ Admin = RW
* = R