Configure the svn server in Mac OS X 10.7

Source: Internet
Author: User

1.Mkdir/svn_serv_root

This directory is not a version library, but a version library directory.

 

2.Svnadmin create/svn_serv_root/projecttest

This creates a version library. If you have multiple projects in the future, you can continue to create a new version Library Under/svn_serv_root.

 

3.To the/svn_serv_root/projecttest/conf directory,

Modify the svnserve. conf file:

Anon-access = none

Auth-access = write

Password-DB = http://www.cnblogs.com/passwd

Authz-DB = http://www.cnblogs.com/authz

 

Modify the passwd file:

[Users]

Test = test

 

Modify the authz file:

[Groups]

Test = test

[/]

@ Test = RW

 

Then move the passwd and authz files to svn_serv_root:

CD/svn_serv_root/projecttest/Conf

MV passwd http://www.cnblogs.com/

MV authz http://www.cnblogs.com/

The reason for this move is to facilitate the use of the same password configuration file in multiple later versions.

 

4.Svnserve-d-r/svn_serv_root/

Start svnserve. If no prompt is displayed, the startup is successful.

 

5.Test:

SVN checkout SVN: // localhost/projecttest -- username = test -- Password = test ~ /Desktop/projecttest

The prompt "checked out Revision 0." indicates that the configuration is successful. (A copy has been down to the desktop .)

 

6.To add a version library, restart the svnserve process.

The command to kill the svnserve process is:

Killall-9 svnserve

 

------------------------------------

Reference self-Online http://php.js.cn/blog/ubuntu_svnserve/

Related Article

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.