Linux Standalone (not included with Apache) configuration Subversion method:installation process:1. Software download. I downloaded subversion-1.6.5.tar.gz and subversion-deps-1.6.5.tar.gz, the former is the source file for svn1.6.5, which is the package that may be needed at compile time. Software is as followshttp://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=742. Extract two files into the same directoryexecute commands separately: Tar xfvz subversion-1.6.1.tar.gz and tar xfvz subversion-deps-1.6.1.tar.gz3. Go to Unzip sub-directory: CD subversion-1.6.54. Perform the./configure--PREFIX=/USR/LOCAL/SVN configuration settings and indicate the installation directory.5. Perform make compilation6. Perform the Make install installation.7. Add environment variable: Vi/etc/profile Last added: svnpath= $PATH:/usr/local/svn/bin Export Svnpath (Temporary environment variable is not yet valid so Svnserve command is not recognized)8. Enter the/usr/local/svn/bin directory to execute./svnserve-d Start svn9. Test if SVN is installed successfully, execute:./svnserve--version If the version information is displayed, the installation succeeds.10. Since SVN has a port number of 3690, you can check the SVN-occupied port number command as: Netstat-nl|grep 3690Software configuration:1. Build the repositorygo to SVN's installation directory/usr/local/svn/bin, first create a folder: Mkdir-p/usr/local/snvdata/and then enter the command./svnadmin create/usr/local/ Svndata/repos has set up a repository. 2. Enter/usr/local/svndata/repos/conf to see the SVN configuration file, first configure the svnserve.confThe configuration is as follows:anon-access = Noneauth-access = Writepassword-db = passwdrealm = My First RepositoryOther configuration files are commented out, especially # # # authz-db = Authz, because if not the requirements group permissions configuration, do not configure this, there will be unexpected errorsafter configuring the passwd file[Users]User name = passwordwhen the configuration can be opened with vi passwd file, input I can be modified, after the change, press ESC to exit and enter: WqYou can save the changes3. To see if the SVN process has started, Ps-ef|grep svn and then enter the kill process number to kill the process, then enter the command into the/usr/local/svn/bin directory:./svnserve-d-R/USR/LOCAL/SV Ndata/reposyou can start it.4. The address entered when using the SVN plugin for Eclipse is: Svn:ip to access the repository5. Edit the Authz file to set group permissions and user access permissions for the relevant directory[Groups]
Developers = Admin,tony,Test
[/]
@developers = RW
* =[/www/webapps]
@developers = RW
designer = RW
Test = RW
* =
Configuring Subversion methods separately under Linux