Configuration subversion as Windows service.

Source: Internet
Author: User
Tags svn client

1. Download packages es install package from http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91
2. Install the Windows package and change default install directory to C:/SVN/
3. Create a source repository.
> Cd C:/SVN/bin
> Svnadmin create "C:/SVN/repos"


4. Configuration Subversion
Uncomment the following lines in the conf/svnserve. Con
Anon-access = none
Auth-access = write
Password-DB = passwd


Add some users to CONF/passwd file, for example:
User1 = passwd1
User2 = passwd2


5. Register subversion as Windows service.
> SC create svnserver binpath = "C:/SVN/bin/svnserve.exe -- service-R C:/SVN/repos" depend = TCPIP start = auto

If cannot start the svnserver automation, run the following command.
> Net start svnserver

6. Create a project in repository.
> Set svn_editor = C:/Windows/system32/notepad.exe
> SVN mkdir SVN: // localhost/myproject

7. It's conventional to have/trunk,/branches, And/tags subdirectories for each project.

> SVN mkdir SVN: // localhost/myproject/trunk

> SVN mkdir SVN: // localhost/myproject/branches

> SVN mkdir SVN: // localhost/myproject/tags

 

8. Test. Install a SVN client, e.g. tortoisesvn, and check out myproject that we created.
Here, useSVN
: // <Servername>/myproject/for the repository URL.

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.