Build SVN server on Mac

Source: Internet
Author: User

Tools/Materials
    • Terminal
Method/Step
  1. To open the terminal, we create a code repository, created with Svnadmin create, as in the example below, which creates the Svndir folder in the current directory.

  2. We go to the Svndir folder to see the following content

  3. Conf folder is the configuration folder, which has the relevant configuration, first select the svnserve.conf configuration, such as:

    # anon-access = Read

    # auth-access = Write

    # password-db = passwd

    # authz-db = Authz

    Remove these front # and spaces,

    Anon-access represents anonymous access rights

  4. We create an account, to go into the passwd file configuration, and add zyx=123456 after [users], indicating that the ZYX account was created and the password is 123456.

  5. File Authz can configure user groups and permissions, you can add users in the passwd to a user group or create a user group, so that you can set permissions on the entire group, and do not have to set individual permissions for each user. We've added a zyxgroup group, including user ZYX, which has read and write permissions to the root directory, and [/] represents the root directory.

  6. The next step is to start the SVN server, which, if not prompted, indicates success.

  7. 7

    If you close the SVN server, you can use PS to find its PID, then kill it.

Build SVN server on Mac

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.