Windows-based svn installation and configuration, windowssvn Configuration

Source: Internet
Author: User
Tags tortoisesvn

Windows-based svn installation and configuration, windowssvn Configuration

[Author]: kwu

Install and configure svn Based on windows

1. Install Subversion

Download Setup-Subversion-1.8.13.msi


2. Install the TortoiseSVN-1.8.11.26392-x64-svn-1.8.13, which is the auxiliary management software of svn.

Download TortoiseSVN-1.8.11.26392-x64-svn-1.8.13


3. Create a warehouse and use TortoiseSVN for convenience




4. Create a windows Service and run 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 svnserve path. binPath is the location where the service command is to be set.

2) Specify the storage path of the svn repository, and-r sets the root directory location of the svn service.

-- Service means to start this command in the form of a windows service, that is, a command named svnserve will be added to the windows service.



3) Delete windows Service commands

SC create is used to add a service to the windows service, and SC delete deletes a service in the windows service.



5. svn permission Configuration

1) svnserve. conf file

Anon-access = none
Auth-access = write

Password-db = passwd

Authz-db = authz

Note:
Auth-access = write # verified users can read and write
Auno-access = read # read-Only files can be logged on anonymously, that is, files cannot be submitted to the server after modification.
Password-db = password # name of the file saved by the user
Authz-db = authz # permission management file is very important. If we want to assign permissions to the entire project file, we must comment out the row file, no, even if we do more configuration in the permission configuration file, it is invalid. Then we will assign permissions under the authz file.


2) set the user name and password in the passwd file

[Users]

Admin= 123456
Kwu = Abcd1234


3) set the user access permission for the directory in the authz file. rw is set to "read/write"

[/]
Admin = rw

[/Code]
Kwu = rw


6. Right-click the TortoiseSVN client and choose TortoiseSVN --> Repo-browser.



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.