SVN server-side configuration-server-side

One, create a project

  1. Create a public directory Project on the SVN server as the project directory
  2. Create a demo folder in the Project directory as a version repository
    Insert picture description here
  3. To create a version warehouse, the basic syntax under Dos:
svnadmin create Demo 文件夹路径

Insert picture description here
4. If the configuration is successful, the following directory structure will be displayed
Insert picture description here

Second, perform server-side supervision

SVN→svn://localhost or (IP address) to access the relevant data warehouse
Basic syntax:

svnserve -d (后台运行) -r (监管目录) 版本仓库路径   #注意是svnserve
description significance
-d Background process
-r The following path represents the path of supervision

The effect is as shown in the figure:
Insert picture description here
At this time, you can just use the svn://localhost or IP address to directly just think of the Demo warehouse

Three, access control

by default. The SVN server does not allow anonymous users to upload files but the server, so the relevant configuration files of the project must be changed.
Insert picture description here
Change the 19th line of code
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_37120496/article/details/115379252