CollabNetSubversionEdge Server installation and configuration

How to install SVN server on Linux ?


SVN is a part of Software Development Life Cycle(SDLC). SVN server is required to manage source code versioning in development enviornment, CollabNetSubversionEdge is open source (freeware). CollabNetSubversionEdge support on variety of Operating systems like Linux, Solari & Windows.

SVN server installation guide on centos / Redhat / Fedora



Step 1: Install & Configure Dependencies Softwares
Step 2: Download and configure CollabNetSubversionEdge
Step 3: Create SVN repository and User authentication


Step 1: Install & Configure Dependencies Softwares


Dependencies :java-1.7.0-openjdk , python-2.6 ,python-devel-2.6
Login to Server and Install dependency software package

#yum install python python-devel java-1.7.0

Note:Or you can download jdk from oracle website from below link  ,Download JDK from below link and copy to target PC.

Installing jdk-7u45-linux-i586.rpm

#rpm -ivh jdk-7u45-linux-i586.rpm


The default location of jdk script and executable files : /usr/lib/jvm/java-1.7.0-openjdk-
Run Java command to check the Java version

#java -version


Step 2: Download and Extract CollabNetSubversionEdge


Create a non root user account to run / install the SVN server, User can be renamed or use any suitable for your environment. In our guide we are using “svn”.

#useradd svn
#passwd svn


Download the latest version of SVN server from below link , the download required user registration:

After downloading to your local PC, then copy the.tgz file to target PC /home/svn . Using Winscp or FTP.



Log in to target PC through seven user accounts as created in step 2.1 , if already logged in as root, then switch over to svn account:

#su – svn


Extract CollabNetSubversionEdge-4.x.x_linux-x86_64.tar.gz source file,In our guide we have uploaded to /home/svn

$tar -zxvf CollabNetSubversionEdge-4.x.x_linux-x86_64.tar.gz

Note: This will create a folder seven under the users home folder, i.e. /home/svn/csvn.


Set the JAVA_HOME path in /home/svn/csvn/data/conf/csvn.conf

$vi /home/svn/csvn/data/conf/csvn.conf

Locate the JAVA_HOME and set it as JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-
Save and Exit!


Start SVN services , all service level scripts located in below location:/home/svn/csvn/bin
Start SVN service

$/home/svn/csvn/bin/csvn start

Log in to browser based management console.from your desktop PC point to SVN server ip:3343/csvn and configure the Apache server before it can be run for the first time.

Non-SSL Address URL : http://IPaddress:3343/csvn /
Self signed based URL :https://IPaddress:4434/csvn

Username: admin
Password: admin


Start http console

$/home/svn/csvn/bin/csvn-httpd start

Optional :Install the application to start automatically when the server restarts.

$ cd csvn/bin

$ sudo -E ./csvn install


Step 3: Create SVN repository and User authentication


Create an SVN repository for a project . following directory structure will be create dynamically.

Tag : application version
Branch : Stable release
Trunk : Initial source code committed by developers

User Authentication, Active Directory user authentication can be integrated to avoid redundant users.
Login to Active Directory server and Create an account to bind for AD authentication integration with SVN server.

Start – >Administrative Tools -> Active Directory Users and Computers- > Users -> New – User

Active Directory – Users -> create an account with never expire option: -> delegate control> schema RO permission to SVN user .(You can Create User account of your choice)


Enable Advance Feature : View -> Advanced Features (Checked)
User account proprieties -> Attribute Editor -> distinguishedName -> Copy Value (CN=experts,CN=Users,DC=solutionsatexperts,DC=com)

Apply below settings to SVN server :
Authentication Method : LDAP authentication against an LDAP server (checked)
LDAP Server Host :x.x.x.x (Active Direcotry server IP)
LDAP Server Port :389
LDAP Base DN :Users,DC=solutionsatexperts,DC=com (
LDAP Bind DN :CN=experts,OU=Users,DC=solutionsatexperts,DC=com

LDAP Bind Password :password (user account password of experts)
LDAP search scope :samAccountName
LDAP Server Certification Verification : checked
Console LDAP Authentication :checked


Finally, try login to the SVN Server web console using a user account from Active Directory.


Watch , How to install SVN server on Centos / redhat or Fedora?

Leave a Reply

Your email address will not be published. Required fields are marked *

6 + 3 =