Svn + tp-link + peanut shell to build an Internet Server

Source: Internet
Author: User
Tags svn client tortoisesvn
Document directory
  •  
  • 1. Preparations
  • 2. Network Construction
  • 3. svn Configuration
  • 4. Run svn
  • 5. Remote Access
1. Preparations

1. Download the svn client and svn Server

You can go to the http://subversion.apache.org/packages.html to find the clients and servers on your own platform.

Because my platform is windows, I chose TortoiseSVN and Win32Svn.

2. Install peanut shells

Go to the official website to download the peanut shell software and apply for a passport to get a second-level domain name.

2. Network Construction

Because the author's network is connected through a router, it is necessary to map the routing port to the Intranet ip address. For tp-link routing, the specific steps are as follows:

1. Go to the Administrator page.

2. Bind the IP address to the MAC address. Of course, this can also be set, but because the internal and external IP addresses change, it may be difficult to set each time.

3. Set the virtual server. Map the port number to your own IP address.

Port 3690 is set here because svnserve uses port 3690 by default.

4. Set DDNS through the peanut shell and fill in the user name and address of the previously applied peanut shell.

NOTE: if you cannot log on, there are two solutions: 1. Refresh the firmware of the route. 2. select another service provider.

5. log on to the peanut shells

Log on to the local machine. If there is an IP address at the bottom right of the peanut shell software that is the same as the IP address on its own route, the configuration is successful. If they are different, it may take a while, because the DDNS settings take some time.

3. svn Configuration

1. Create a code library

You can use either of the following methods:

(). After TortoiseSVN is installed, a create repository here option is displayed in the shortcut menu right-click. In an empty folder, a repository is automatically created when you execute this command.

(B) In the bin folder of the Win32Svn installation directory, find the svnadmin executable file and type:

Svnadmin create <Folder path>

For more detailed configuration of the code library, see: http://blog.163.com/cp7618@yeah/blog/static/70234777201108105751174/

2. Import the project

For detailed steps, refer to the Subversion 1.6 authoritative guide.

4. Run svn

In the bin folder of the Win32Svn installation directory, find svnserve and type:

Svnserve-d-r <repository path> -- listen-port 3690

5. Remote Access

On a remote PC, open TortoiseSVN and enter svn: // <free Domain Name provided by peanut shells> to access the shared project.

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.