//home | tags | archives | about | grosu.nl | eulinux.org

Installing SVN server on FreeBSD

floyd - Wed 17 December 2008 - freebsd, network, subversion, svn

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