Windows builds SVN server

Source: Internet
Author: User
Tags tortoisesvn

Want to go through the SVN layout and the use of the process, finished finishing a bit:

Step 1: Download and install

1, install the SVN server, download the Windows version of SVN to http://subversion.apache.org/packages.html, and install.

Ctrl+r, enter the cmd into the terminal, run the SVN command under the command line, as below, then the installation succeeds:

Step 2: Building a warehouse

Create a warehouse empty folder E:\repos, and right-click on the Repos folder to select Tortoisesvn-->create repository here

Step 3: Associated storage directory and warehouse

Create a folder for the project E:\working, and in the working folder right-click on the SVN Checkout, and enter File:///E:/repos in the URL of repository, e:\ The. SVN folder will be generated in the working, and the table name has associated the working folder with the Repos warehouse.

Step 4: Place source into warehouse

Put the source code sources in the working, sources right-click Tortoisesvn-->add, add sources to the working folder (the SVN managed working folder), Then Tortoisesvn--commit commits to repository.

Step 5: start the SVN service

Finally, you need to start the SVN service, enter D:\Program files\subversion\bin>svnserve-d-R E:\repos in DOS

Step 6: Configure related information

Configure access, user name, password in E:\repos\conf files

Conf will

  1. # anon-access = Read
  2. # auth-access = Write
  1. # password-db = passwd

Remove the comment from the revision to

  1. Anon-access = Read
  2. auth-access = Write
  1. Password-db = passwd

  1. [Users]
  2. # Harry = Harryssecret
  3. # sally = Sallyssecret
  4. Admin=admin

Step 7: Access

Address to provide colleague access: SVN://IP address/sources

Reference:

Http://www.cnblogs.com/ivan0626/p/3783053.html

Http://www.cnblogs.com/jinmingjie/archive/2012/06/05/2536995.html

Windows builds SVN server

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.