Configure local Subversion

Source: Internet
Author: User
This article only records configuration of local subversion, no authentication, HTTP, ssh, and other configurations 1. install the Subversion server Yum install subversion or source code compilation and installation 2. create SVN user group Root User Shell code # groupadd developers // Add group developers # usermod-a-g developers username // Add User username to developers # ID username // check whether username is note in developer: if you open multiple window operations, run the group command under username shell to check whether the current shell is in the developers group. If you do not need to re-open the shell, the add operation takes effect, or there are other methods, to be found 3. create the svn repository directory shell code # mkdir-P/usr/local/SVN/repos/# chown-R: developers/usr/local/SVN/repos // modify the group # chmod 775-r/usr/local/SVN/repos // Add the write permission of the developers group 4. create SVN repository shell code # svnadmin create/usr/local/SVN/repos/Test 5. modify the permission CONF/svnserve. conf [general] anon-access = read auth-access = WRITE password-DB = passwd authz-DB = authz CONF/passwd [users] username = PASSWORD * = * CONF/authz [groups] @ developers = username ,... [/usr/local/SVN/repos/test] @ developers = RW username = r/W/RW * = R [test: /usr/local/SVN/repos/test] @ developers = RW username = r/W/RW * = r Note: modifying permissions does not work, the configuration may be wrong, and then you can use SVN Co/Ci/diff/STAT and other commands for the http://www.2cto.com/ OS /201203/124303.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.