Archive for the 'tools' Category

SVN with linux

Monday, September 25th, 2006

Svn is meant to replace the cvs version control system. This is how i configured it in my machine:

First create the directory to hold the repository. In this case it is the /home/user/svn

CODE:
  1. svnadmin create --fs-type fsfs /home/user/svn

Edit the /home/user/svn/conf/svnserve.conf file and allow anonymous write access. Also uncomment the section line `[general]`

CODE:
  1. anon-access = write
  2. auth-access = write

Start the svn daemon by typing

CODE:
  1. svnserve -d

Access you repository through the following address:

svn://your.ip.address/home/user/svn

The svn daemon uses the 3690 port, so if you are usina a firewall like apf add this port. The reload the apf by typing

CODE:
  1. /etc/apf/apf -r

Thats it!

http://artis.imag.fr/~Xavier.Decoret/resources/svn/index.html

http://svnbook.red-bean.com/en/1.1/ch09s04.html