Secure subversion setup (Centos 5.6+Apache+SSL)
Subversion is an open source version control for any type of programming. For ex. in software development, versioning is most important. Versioning is most recommended in web development.
Subversion can keep maximum of 232 – 1 versions in 32-bit operating system. For 64-bit it’s infinite.
Subversion can serve files in two methods; one is through SVN daemon – which run SVN as a service, second is running SVN with apache – which run as application.
Setting up SVN daemon is very easy compare to run with apache.
1. Install SVN as a daemon.
yum install subversion
#second step is to create SVN repository,
svnadmin create /var/www/svnrepo
cd /var/www/svnrepo
#edit configuration file in svnrepo
nano conf/ svnserve.conf
#find the below lines and uncomment or add these lines,
anon-access = none
auth-access = write
password-db = passwd
#save the file
#next edit the file called passwd, which contain users who authorized to access SVN repository
nano /conf/passwd
#add users and password under [users] directive
#save and close.