Based on Windows SVN installation and configuration

Source: Internet
Author: User
Tags tortoisesvn

[Author]: Kwu

Based on Windows SVN installation and configuration

1. Install Subversion

Download Setup-subversion-1.8.13.msi


2, install tortoisesvn-1.8.11.26392-x64-svn-1.8.13, this is SVN's auxiliary management software

Download tortoisesvn-1.8.11.26392-x64-svn-1.8.13


3, the creation of warehouses, the use of tortoisesvn more convenient




4. Create a Windows service and execute the following command on the cmd command line:

SC create Svnserve binpath= "D:/softwares/subversion/bin/svnserve-  R  d:/svn/root--service"

1) Specify the path to the Svnserve, BinPath is the location where you want to set the service command.

2) Specify the storage path of the SVN repository,-R sets the root directory location of the SVN service.

--service means to start this command in the form of a Windows service, which adds a command named Svnserve to the Windows service



3) Remove commands from Windows services

SC Create is used to add a service to the Windows service, and SC Delete removes a service from the Windows service.



5, SVN's permissions configuration

1) svnserve.conf File

Anon-access = None
auth-access = Write

Password-db = passwd

Authz-db = Authz

Description
auth-access = Write #通过验证的用户可以读和写
Auno-access = read #匿名登陆下可以只读文件, i.e. cannot commit to server after file modification
Password-db =password #用户保存文件的名称
Authz-db =authz #权限管理文件 This is very important, if we want to the entire project to assign permissions to the file, we have to comment out the line file before, no matter even if we do more in the permission configuration file configuration is not valid. Then we assign the permissions under the Authz file


2) passwd file, set user name and password

[Users]

admin=123456
Kwu = Abcd1234


3) Authz file, set the user access permissions to the directory, RW "Read and write"

[/]
Admin=rw

[/code]
Kwu=rw


6,TortoiseSVN Client access right click Tortoisesvn-->repo-browser



Based on Windows SVN installation and configuration

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.