Install the Subversion server record on Windows

Source: Internet
Author: User
Install the Subversion server record on Windows

Date: 2007.12.30

OS: Window XP, subversion 1.4.5

1. Download the server software of the Subversion Windows version as follows:

Http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91

For example, svn-1.4.5-setup.exe,

Then execute the installation, the installation directory is D: Program filessubversion, and then this is the system environment variable path. Add the bin path of subversion to the system path.

2. Create a subersion Library: first create a directory to store the Subversion library, and store all the Subversion projects in the library, such as E: Repository

3. Create a New subversion project.

Run: svnadmin create E: repositorytest-Project

To set the user information of the project, you only need to open the passwd file in the conf directory of the Subversion project to add a new user, as shown in figure

[Users]
# Username = Password

Test = 111111.

Next, set some other information about the project, open the svnserve. conf file in the conf directory, and then perform the following settings:

[General]

Anon-access = read

Auth-access = write

Password-DB = passwd

Realm = demo

4. Start the Subversion service.

Install services

SC create subversionservice binpath = "" D: Program filessubversionbinsvnserve.exe "-- service -- root E: repository"

Displayname = "Subversion repository" depend = TCPIP start = auto

Delete a service

SC Delete subversionservice

5. Import a project to Subversion: now we need to import the project to the Subversion library, just run the following command:

SVN import D: Demo SVN: // localhost/demo-M "Initial import" -- username test -- password 111111

In this way, the project is imported into the Subversion library.

6. Export a project: Exporting a project from a subversion project is also easy. You only need to perform the following operations:

SVN Co SVN: // localhost/demo -- username test -- password 111111

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.