Quick installation of SVN on FreeBSD, access by svn:// protocol

portinstall subversion
mkdir /home/svn-repo
pw user add -n svn -u 3690 -d /home/svn-repo
chown svn:svn /home/svn-repo/
chsh -s /bin/false svn

Add to /etc/rc.conf:

svnserve_enable="YES"
svnserve_data="/home/svn-repo"
svnserve_user="svn"
svnserve_group="svn"

Start the server itself:

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

Also, remember to open port 3690 in firewall, if you are using one

Comments