Recently, due to project requirements, svnserver is required to be remotely renewed, but there is no fixed domain name or IP address. Therefore, we plan to apply for a free domain name to build a server, and then deploy visual SVN on the server, you can ask questions on the Internet (assuming you have a fixed domain name and server, you don't have to worry about it ). The detailed creation process is described below;
1. Install visualsvnserver
Visualsvn server: http://www.visualsvn.com/server/
For detailed installation and configuration of the visualsvn server, refer to the http://www.cnblogs.com/lyhabc/articles/2482052.html.
(Check "use secureconnection" during installation)
2. Install peanut shells and apply for free Domain Names
Peanut shells: http://www.oray.com/peanuthull/download.php to download the dynamic domain name.
After the installation is complete, execute the software and click "note passport". After the registration is complete, a free domain name will be provided, and then you can log on to the peanut shell software.
3. Set vro
My dormitory is a TP-LINK router, so take him as an example, other routers are similar.
1) Open "static Address Allocation" under dhcpserver
Fix the computer as a static Intranet IP address. Note that it corresponds to the MAC address.
2) Open the "virtual server" under the forwarding rule
Because the default port for the secure connection (that is, secure connection with the prefix of HTTPS) of visualsvnserver is 443, you must enter 443port and the fixed IP address in the virtual server. Suppose you want to create an httpserver and map 80 ports.
3) Enable Dynamic DNS
Enter the username and password of the peanut shell software.
4) restart the vro after completing all settings.
Iv. Set visualsvnserver
Open visualsvnserver:
Right-click "visualsvn server (local)" and select "properties" to switch to the "networking" tab:
Change "servername" and "server port" to the IP address and port set in the vro virtual server. Then restart the visual SVN service.
Finally:
Find an Internet computer, enter: https://xxx.eicp.net: 443/SVN in the address bar of the browser, the red part is the free Domain Name provided by the peanut shell, if you can ask, it indicates that the configuration is successful.
"Peanut shell" + "visualsvn" cleverly implement remote code version control