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.
2. Create a library
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:
then add a groups
4. Modify the project configuration file
Then modify the configuration file of the project
Continue to configure
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
Then the role of user comes out, and the browsing needs to be authorized
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
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
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