Setting subversion in 5 mins on Ubuntu

#get packages
sudo apt-get install subversion

#create repository (write access required to the repository location)
sudo svnadmin create /repository

#add user(s), edit 2 files:

/repository/conf/passwd:
[users]
bawi = bawi

/repository/conf/svnserve.conf
[general]
anon-access = read
auth-access = write
password-db = passwd

#start subversion as daemon:
sudo svnserve -d

#restarting subversion can be done via
sudo kill svn_pid
sudo svnserve -d

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s