SVN server building tutorial

background

Use VisualSVN Server to build the svn server on the windows cloud service, and use TortoiseSVN as the client to connect locally.

method

1. Installation

VisualSVN Server download address:
Downloads | VisualSVN

After the download is complete, continue to the next step to install.

insert image description here

insert image description here
insert image description here

insert image description here
insert image description here

2. Create a library

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
Of course, you may find that you don't see anything, that is, we haven't set up an account and password

3. Create users and groups

Add user as follows:
insert image description here
insert image description here
insert image description here
then add a groups

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

4. Modify the project configuration file

Then modify the configuration file of the project

insert image description here
insert image description here

insert image description here
Continue to configure

insert image description here
insert image description here
insert image description here
insert image description here

5. Local access

Ok, now you can go to the browser to visit, you can directly enter localhost in the browser address bar, press Enter or the following method

insert image description here
insert image description here
Then the role of user comes out, and the browsing needs to be authorized

insert image description here
insert image description here
At this point, the SVN server can be accessed locally, but if you want to access it on the public network, you need to configure an IP or domain name.

6. Configure domain name and external network access

Click on the svn server side as shown in Figures 1 and 2 below

insert image description here

After entering the Properties, select Network and then configure the Server name, and configure the Server name to the external network IP address or domain name you want to access and it will be ok

insert image description here

Here are a few things to watch out for:

1. Don’t make a mistake about the port number

2. If you installed the svn server on Alibaba Cloud, remember to add the svn port number in the security policy of Alibaba Cloud. Many port numbers in Alibaba Cloud are closed by default, and you need to add them manually before you can access them.


Source:
SVN Server Construction (1) - Yanky - Blog Park
External network access to svn server (external network access to svn server deployed on the cloud)_Granger_g's Blog-CSDN Blog

Guess you like

Origin blog.csdn.net/qq_34626094/article/details/129379311