Configure Svn in Windows XP (New View)

Source: Internet
Author: User
Tags tortoisesvn

During the University, many detours were taken to match the SVN, because many posts were found online, especially when there were several ambiguities, which made it difficult for beginners to get started.

1. First install the server software “svn-1.4.2-setup.exe "(the attachment can be downloaded). This installation is very simple. Next, you can proceed to the next step.

I installed this in the "C: \ Program Files \ subversion" directory.

2) second install the client software "TortoiseSVN-1.4.1.7992-win32-svn-1.4.2.msi" (too big to pass on, find your own online,

If you want, you can also send an email to my gurnfe@163.com ),

This installation is also very simple. Next,

Next step.

After the client software is installed, it will ask you to restart the computer. Restart...

3) because the software will be used to start up, it is best for developers to install it as a service (in this way, when the computer starts the software, the server also runs

Or you need to manually start the service in command line mode ). The following describes how to set it as a service.

3.1 download the svnservice.exe#(attachment can download and copy "“svnservice.exe" to "C: \ Program Files \ subversion \ bin \"

3.2) enter the command line mode: Start Menu -- run -- enter the "C: \ Program Files \ subversion \ bin \" directory.

Run the following command: svnservice-install-d-r "E: \ svn_service_root ". (This step is very important. In the past, I had misunderstood this step a lot.

Detours ). For details, see Section 3.3. Set it to auto start: Start Menu-control panel-performance maintenance-management tools-Service

After entering the service list, you will see the svnservice service in the service list. Right-click it and set it to auto-start (the service is also started when it is started)

3.3) Here, the "E: \ svn_service_root" directory is designated as the SVN version control service directory (many posts on the Internet refer to the above command as the establishment

In fact, this directory should be called the directory where the repository is located. Suppose I have three warehouses: repository_1, repository_2, repository_3.

Their location should be: e: \ svn_service_root \ repository_1,

E: \ svn_service_root \ repository_2,

E: \ svn_service_root \ repository_3.

4) I have already talked about the warehouse. Now let's talk about how to build a warehouse: there are 2 methods as follows:

4.1) in command line mode, enter "C: \ Program Files \ subversion \ bin \"

Run the command svnadmin create E: \ svn_service_root \ repository_1 to create the first warehouse. Your project will be ready in the future

Import to this repository. (Similar to the creation of other warehouses) enter the Directory: desktop -- my computer -- local disk E:

-- Svn_service_root -- repository_1. You will see Conf, Dav, DB, etc.

4.2) Open the Directory: My computer -- local disk E: -- svn_service_root. Create a folder in the directory named "repository_1" and Right-click

The newly created folder -- tortoisesvn -- create repository here. The effect is the same as that of the first method.

5) go to the "E: \ svn_service_root \ repository_1 \ conf" directory to Configure permissions. Refer to this article (I think he wrote very well)

Http://hi.baidu.com/ayifa/blog/item/a7708c1885c221b54bedbc40.html

6) If your server is installed on the local machine, you can access it as follows: Right-click -- SVN checkout. A dialog box is displayed.

Enter SVN: // localhost/repository_1 under URL of repository (if other computers access this repository:

SVN: // 10.1.246.68/repository_1, where 10.1.246.68 is my IP address. You can replace it by yourself.

The SVN: // 10.1.246.68 address corresponds to the E: \ svn_service_root directory:

Svnservice-install-d-r "E: \ svn_service_root", and install the E: \ svn_service_root directory to be accessible through the svn protocol.

E: \ svn_service_root directory .)

Enter the checkout location under the checkout directory. Then, OK !!!!

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.