Install and configure SVN1.6 server and client

Source: Internet
Author: User
Tags tortoisesvn

 

1. Software Download

Download the SVN1.6 server program.

 

Client [TortoiseSVN-1.6.9.19725-win32-svn-1.6.12.msi]

Http://www.svnclub.com/index.php? Q = node/74 or http://dl.dbank.com/c0a6uapex8

Server [Setup-Subversion-1.6.9.msi]

Http://www.svnclub.com/index.php? Q = node/73 or http://dl.dbank.com/c0scm873jk

2. Install the server on the server and client, directly run the installation program, and install it as prompted.

3. Create a SVN1.6 version Library (Repository)

Right-click the Directory D: \ svn \ repository and choose TortoiseSVN> Createrepositoryhere. Then you can select the version library mode. The default fsfs mode is used here, then a series of directories and files are created.

4. Configure SVN1.6 users and permissions

Open the D: \ svn \ repository \ svnserve. conf file, and set the content without # Before the [general] section:

Anon-access = none

Auth-access = write

Password-db = passwd

Open the passwd file in the same directory to set the account:

Similarly, set the content without the # sign before the row in the [users] section, for example:

Admin= 123456

5: Create a server --- cmd Input

SC create svnservice binPath = "C: \ Program Files \ Subversion \ bin \ svnserve.exe -- service-r D: \ svn \ repository" DisplayName = "subversion" depend = Tcpip start = auto

Start the server

Net start subversion

6. Import the project

Right-click the Directory and choose TortoiseSVN, >>> "Import... ", set" file library url "to svn: // After localhost is determined, the system will prompt that the file is being imported. if other machines want to access the svn Server IP address, such as svn: // 192.168.1.1

 

7. Export a project

For example, d: \ project >>> select "SVN fetch..." and set "file library url" to the IP address of svn: // 192.168.1.1 server. Set the admin password to 123456.

8: problem:

Error 2: system cannot find the specified or error 3: system cannot find the specified

Solution:

Go to the Registry and find HKEY_LOCAL_MACHINE/SYSTEM/CONTROLSET001/Services/svnservice. After finding this, select an ImagePath and change its data value to the correct executable file path.

 

 

 

Command:

Create a service:

SC create svnservice binPath = "E: \ IDE \ Subversion \ bin \ svnserve.exe -- service-r E: \ svn \ repository" DisplayName = "subversion" depend = Tcpip start = auto

Start the service:

Net start subversion

Author: heng_ji

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.