SLIKSVN of SVN Server Setup

Source: Internet
Author: User

SVN server build binary file http://subversion.apache.org/packages.html

I downloaded the sliksvn, all the same, after the installation,

Create a directory manually, such as D:\svnDB\svnrepository

Run Svnadmin create d:\svnDB\svnrepository on the DOS command line

You'll see it under the svnrepository.

which

Conf directory storage configuration information;

The DB directory is all version controlled data files;

Hooks directory where the hook script file is placed;

Locks is used to place the Subversion file Vault lock Data directory, used to track access to the file repository of the client;

The format file is a text file that contains only an integer that represents the version number of the current vault configuration;

Configuration

Implementation of subserver with self-service platform

Open the/conf/directory, open the svnserve.conf to find the following line, and remove the # from the beginning of each line: ( pay special attention to not leaving the front of the row blank )

[General]

anon-access= read #保证只有认证用户可以访问, which is to turn off anonymous access

Auth-access= Write #通过认证的使用权限

password-db= passwd #指定了用户密码文件

Open the/conf/directory, open the passwd file, add users, one line, storage format "User name = password"

[Users]

# define User Information

Harry = Harryssecret
Sally = Sallyssecret

Create and start SVN services

Open a DOS window, use SC to create a Windows service, point the current directory to the bin directory of Subversion, and enter:

SC create Svnservice binpath= "D:\SlikSvn\bin\svnserve.exe--service-r D:\svnDB" displayname= "Svnservice" depend= Tcpip Start=auto (Special note = There are spaces behind)

Then enter the command "svnserve-d--listen-port 3690-r d:\svn" Here "D:\svnDB" is the repository path you created in SVN, then execute the command, remember that the window cannot be closed, and the SVN service stops after it is closed.

The server can be accessed by entering svn://127.0.0.1/svndb/svnrepository in the browser

SLIKSVN of SVN Server Setup

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.