Setup SVN Server

Setup SVN Server

1. Create a respo

svnadmin create /home/svn

2. Create SVN username and password

pico /home/svn/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd

Then create your password file

pico /home/svn/conf/passwd

In that file add a line for your user:

# add users in the format : user = password
user1 = password1

3. Import Your project

svn import /home/sarawuth/prj1 file:///svn/prj1

4. Start the SVN server as daemon and specified directory

svnserve -r /home/svn

Test new repo

svn co svn://127.0.0.1/svn/prj1

You’ll get prompted for username and password.

Leave a Reply