Subversion (SVN) is a version management tool that has emerged in recent years and is the successor of CVS. SVN servers can run in two ways: independent servers and apache. The two methods have their own advantages and disadvantages. SVN also stores version data in two ways: BDB and FSFS. Because the BDB method may lock data when the server is interrupted (I am suffering from ldap and cannot cure it), it is safer to use the FSFS method. 1. SVN Server installation operating system: RedHatLin
Subversion (SVN) is a version management tool that has emerged in recent years and is the successor of CVS.
SVN servers can run in two ways: independent servers and apache. The two methods have their own advantages and disadvantages.
SVN also stores version data in two ways: BDB and FSFS. Because the BDB method may lock data when the server is interrupted (I am suffering from ldap and cannot cure it), it is safer to use the FSFS method.
1. SVN Server Installation
Operating System: RedHat Linux AS4
Obtain the installation package:
Download http://subversion.tigris.org/downloads/subversion-1.4.0.tar.gzand http: // subversion.tigris.org/downloads/subversion-deps-1.4.0.tar.gz.
Compile:
Log on as the root user.
Upload subversion-1.4.0.tar.gzand subversion-deps-1.4.0.tar.gz to the server.
Tar xfvz subversion-1.4.0.tar.gz
Tar xfvz subversion-deps-1.4.0.tar.gz
Cd subversion-1.4.0
./Configure -- prefix =/opt/SVN -- without-berkeley-db-with-zlib
(Note: Run in SVNserve mode without adding apache compilation parameters. Store version libraries in fsfs format without compiling berkeley-db)
Make clean
Make
Make install
Vi/etc/profile, which is added at the end of/etc/profile:
PATH = $ PATH:/opt/SVN/bin
Export PATH
Test:
SVNserve-version
If the following figure is displayed, the installation is successful:
SVNserve, version 1.4.0 (r21228)
Compiled Oct 12 2006, 10:18:56
Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product has DES software developed by CollabNet (http://www.Collab.Net /).
The following repository back-end (FS) modules are available:
* Fs_fs: Module for working with a plain file (FSFS) repository.