Configuration of SVN server in Windows

Source: Internet
Author: User
Tags tortoisesvn

On Windows XP, use svn-win32-1.6.1.zip

1,Download the server version, decompress it to the edisk, rename it as subversion, and create a SVN folder on the edisk.

2, (Create a database) and switch to the bin directory of subversion. Run the following command: svnadmin create E:/SVN/test to create a version library named test.

3Use the -- root option to set the root location to restrict the access directory of the server. Svnserve.exe -- daemon -- root E:/SVN

4And register the svn service as a Windows service. Enter
SC create SVN binpath = "/" E:/subversion/bin/svnserve.exe/"-- service-R E:/SVN" displayname = "svnservice" depend = TCPIP start = auto
If the registration is successful, a message indicating success is displayed. The SVN service option appears in Windows service items.

5Open the E:/SVN/test/conf directory in the text editor and change svnserve. conf: # password-DB = passwd to password-DB = passwd.

6, Create a user password, modify the passwd file in the same directory, and add an account: weiqingli = WQL before the user name, followed by the password

7. initialize the Import

The following describes how to import our data (project) to this version library and manage our data in the future. Any of our changes are recorded by the version library. Even if we lose or correct the data, the version library can help us retrieve the data.

For example, in D:/wwwroot
There is a guestbook
Folder, which stores the message book program I wrote. On this folder, right-click
-> Tortoisesvn-> Import... ". In the pop-up dialog box, enter" SVN: // localhost/repos1/Guestbook "in" URL of repository ". In the "Import
Message, enter "import entire message book" as the comment.
Click OK.
Enter an account. Enter test in both the user name and password.
. After completion, guestbook
All content in is imported to SVN: // localhost/SVN/repos1/Guestbook
.

We can see in E:/SVN/repos1
No changes, connected to a guestbook
The folder is not created. The only change is that E:/SVN/repos1 has increased its capacity. In fact, the content in the source guestbook has been imported
Repos1 version library, source Guestbook
The folder can be deleted.

Note that tortoisesvn can be installed on the other server.
. For example, if the IP address of the host running svnserve is 133.96.121.22, the content entered in the URL section is "SVN: // 133.96.121.22"
.

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.