Saturday, March 1, 2008

Fast install SVN server on linux

It is crazy easy to build SVN server, much easier than CVS server. Just do the following steps:

  • su root
  • # download the relatest stable version of SVN source code
  • wget http://subversion.tigris.org/downloads/subversion-1.4.6.tar.gz
  • tar xzvf subversion-1.4.6.tar.gz
  • cd subversion-1.4.6
  • ./configure
  • make & make install
  • svnserver --version # check the installation result
  • svnadmin create /svnrepos
  • vi /svnrepos/conf/svnserve.conf
  • # uncomment and edit in this config file
  • anon-access = none
  • auth-access = write
  • password-db = passwd
  • # add your username and password
  • vi /svnrepos/conf/passwd
  • # start server as a daemon
  • svnserve -d
  • # use it like:
  • svn co svn://server_ip_address/svnrepos/myproject


Reference:
Setup a Subversion Server in 4 Minutes

No comments: