You need to be Payday Loans UK Why would you

Create SVN repository

Hello! Today I would like to tell you how to quickly install server subversion (svn) and creat repository. The following instructions applies to install svn in FreeBSD certainly.

SVN (Subversion) is a version control system – useful instrument for developers who works on large-scale project.

I should draw your attention: it isn’t full manual about svn – it is only minimum that should be enough for start.

Install svn from ports system:

$whereis subversion
subversion: /usr/ports/devel/subversion
$cd /usr/ports/devel/subversion
$make install clean

I hope this manipulation well-khown for you.
When install already we add a few line in rc.conf:

svnserve_enable="YES"
svnserve_flags="-d --listen-port=3690"
svnserve_data="/www/svnroot"
svnserve_user="svn"
svnserve_group="svn"

where /www/svnroot folder that will include yours repositories. Make it before start svn.
You should make also svn group and svn user with home root directory:

$pw user add svn -g svn -s /sbin/nologin -d /www/svnroot/

It’s all systems go:

$/usr/local/etc/rc.d/svnserve start
Starting svnserve.

It’s ok! Now creat the repository:

$svnadmin create /www/svnroot/http/

change owner for folders to svn

$chown -R svn:svn /www/svnroot/

You should edit config file to close the anonym access in repository:

vim /www/svnroothome/http/conf/svnserve.conf

uncomment the line

anon-access = none
auth-access = write
password-db = passwd

add to /www/svnroot/http/conf/passwd line like

user = password

and restart svn

$/usr/local/etc/rc.d/svnserve restart

Congratulate yourself! You have just installed subversion and created svn repository.

Leave a Reply