"Peanut shell" + "visualsvn" cleverly implement remote code version control

Source: Internet
Author: User

Recently, as the project requires remote access to the svn server, but there is no fixed domain name or IP address, we plan to use a peanut shell to apply for a free domain name to build a server, and then deploy visualsvn on the server, you can access it on the Internet (if you have a fixed domain name and server, you don't have to worry about it ). The following describes the specific creation process;

1. Install visualsvnserver

Visualsvn server: http://www.visualsvn.com/server/

For detailed installation and configuration process of visualsvn server, see 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 installation, run the software and click "register passport". After registration, a free domain name is 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) enable "static Address Allocation" under the DHCP server


Fix the computer to 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 (secure connection with the prefix of HTTPS) of visualsvnserver is 443, you need to enter port 443 and the fixed IP address in the virtual server. To create an HTTP server, map port 80.

3) Enable Dynamic DNS


Enter the username and password of the peanut shell software.

4) restart the vro after completing all the 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. 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 access, it indicates that the configuration is successful.

"Peanut shell" + "visualsvn" cleverly implement remote code version control

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.