SVN(Subversion) is an open source, centralized version control system for managing the change history of files and directories. It allows multiple users to collaborate on development, share resources, record every code change, and support backtracking to any historical version.
It is important for the development team to be able to access the SVN server anytime, anywhere. However, most SVN servers are located in local area networks and lack public IP addresses, which makes external network access difficult. The Aweshell intranet penetration solution solves this problem, and can realize safe and stable extranet access without public network IP or complicated router settings.
1. Install and configure the SVN server
To set up SVN server locally, VisualSVN Server is a good choice, it provides an intuitive management interface.
Download and install VisualSVN Server
Visit the VisualSVN official website download page to download the VisualSVN server installation package.
Run the installer and click "Next" as prompted ".
When configuring the installation options, pay attention to the settings: software installation location (Location), version repository location (Repositories), server port (Server Port), and backup path (Backups).
Configure VisualSVN Server
After the installation is complete, some key configurations are required.
Modify server network properties: In the VisualSVN Server Manager, select VisualSVN Server, right-click and select [Properties]-> [Network]]. Change the server name to the local LAN IP address. If no HTTPS certificate is configured during installation, you can uncheck the "Use secure connection" and use the HTTP protocol. The port is usually set to 80.
Create an SVN Server user: In the VisualSVN Server Manager, right-click the Users node, choose Create User, and enter the username and password to create credentials for subsequent access.
Create SVN project: Right-click Repositories and choose Create new repository. Follow the wizard to create a new repository and set the corresponding access permissions.
Verify LAN Access
After completing the above steps, enter http:// server LAN IP: port (for example, http:// 192.168.1.100:80) in the browser of another computer in the LAN, and you can see the access interface of SVN server (or you need to enter the user name and password) to ensure the normal access of SVN in the LAN, which is the basis for successful subsequent mapping.
2. Install and log in the Aweshell client to realize remote access to SVN external network
Step 1: Install and log in the Aweshell client on the intranet terminal device where the SVN server is installed.
Step 2: Enter the Aweshell cloud management platform → click intranet penetration → add mapping → select "website application";
Step 3: After the mapping is added, the external network address can be accessed to access the VisualSVN server. Browser input Aweshell external network address, you can achieve external network access VisualSVN Server.
3. Make the SVN client remotely access the SVN Server
Download the VisualSVN server from the TortoiseSVN website download page of the SVN client and follow the steps to install it.
Right-click on the desktop of the computer where SVN client is installed and select [SVN Checkout]].
In the URL of repository, enter the external network access address generated by the Aweshell.
Specify the local storage directory and click OK ".
After the verification is successful, create a new file in the file to be checked out, then right-click on the blank space, select SVN submit, check the file to be submitted, and click [OK], the file will be uploaded to SVN server, and other users' remote access to SVN Server projects can also be browsed and downloaded.
Through Aweshell, external network access to SVN servers can be quickly realized without public network IP or complex routing configuration. For small teams or individual developers, this is an efficient and low-cost solution.