How To's Ubuntu

How to setup SVN Server on Ubuntu 14.04 LTS with Web Access

SVN (Subversion) is an opensource version control system. it is used to store previous changes of your project files like documentation, coding etc. also you can track and identify who made the particular changes in the project files .

In this article we will guide you how to install SVN Server on Ubuntu 14.04 Server Edition or LTS Edition.


To setup SVN Server on ubuntu 14.04 server edition.

1. First installed/update ubuntu repositories with the following command.

2. After updating the repositories we can now install the SVN and apache webserver, we need apache in able to access our SVN  repo through http/web access.


To install apache and SVN,

3. Next is to create a directory where you want to keep your repositories.
for my default setup i used: /svn/

and edit dav_svn.conf file

Default config

Uncomment the following and your done.

4. To create a svn user simple run the following command.

Then input the requireed password for the user.

5. Ok lets create svn repo directory for your files.

Make sure you set the permissions of the /svn directory to apache with the following command:

6. Restart the apache2 service:

7. Ok almost done lets test the svn server, on your windows machine create a folder and right click and select the SVN Checkout, and type the domain url of your repository file.

To view the svn repositories on web, just go to browser and type the server ip/domainame with svn repo folder, on my end my server ip address and input the required user authentication.

user: pr3p
pass: ****

Web Access:



8. In able to checkout or do commits download svn tortoise  tools

TortoiseSVN is free software for software developers (programmers). It helps programmers manage different versions of the source code for their programs.

Download here:




Enter the repository’s URL and click OK, it will be prompted for a login and password. Enter the login information and click OK.

9. Create some test file inside the checkout repository, Right-Click and Select the SVN Commit:


10. Enter the comments that describe the purpose of this commit:

11. and congrats your SVN Server is pretty working fine, the result would be like this



Enjouy cyah….

I started blogging around 2011 at #Ubuntupirates, #ProjectX and #pir8geek, I’m currently working as Network/Linux SysAdmin.

I’m a Linux,opensource advocate and interested in network security and InfoSec.

Leave a Reply