How to install and set up svn environment in CentOS6

  
                

Some programs need to be configured to run the environment. After installing svn under CentOS6 system, you need to configure the environment for svn. After configuring svn environment, you can run svn under CentOS6 system. yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-

:

a, using the svn yum installation, the following operations are performed using the root account 0.5.3-1.el6.rf.x86_64.rpm

yum install --enablerepo=rpmforge,rpmforge-extras subversion

Second, create a boot svn run user:

useradd svn

passwd svn

Enter the password twice after entering the carriage return.

mkdir -p /home/svn/svndata

cd /home/svn/svndata

svnadmin create test

III. Configuration:

vi test/conf/svnserve.conf

Modify: Remove the comment character

[general]

anon-access = none

auth- Access = write

password-db = passwd

authzauthz-db = authz

realm = test

IV. Define repository access:

vi test/conf/authz

Add:

[/] #This is the right to the repository root directory

test_user = rw
< [>trunk/test] #This is the permission control for the repository directory /trunk/test. The following two users can only access this directory

test_user1 = rw

test_user2 = rw

V. Setting user password:

vi test/conf/passwd

Add:

test_user = test123456
Previous12Next Page total 2 pages

Copyright © Windows knowledge All Rights Reserved