2009年4月13日 星期一

Subversion on Win2000 Server

New subversion does not support Windows 2000. So we need to use the older version, 1.4.6.

After the installation of SVN, following the steps below:

  1. Create repository


  2. cd C:\Subversion\bin\
    svnadmin create D:\Repos

  3. Configuration

  4. svnserve.conf

    [general]
    anon-access = read #If you meet
    #"svn: Not authorized to open root of edit operation"
    #change read to none
    auth-access = write #write means read and write

    password-db = passwd #file "passwd"

    authz-db = authz #file "authz"

    realm = My Project #You could change this as you want.

    passwd

    [users]
    austin = austin
    ting = ting # userid = password

    authz

    [groups]
    matrix = austin,ting # group_name = group_members, ....

    [Repos:/] # The repository you create before.
    # or [/] for each repository
    @matrix = rw # @+group_name, rw => read and write

  5. Start the SVN Server


  6. cd C:\Subversion\bin\
    svnserve -d

沒有留言: