Development of auxiliary Tools--subversion installation, configuration and use

Source: Internet
Author: User
Tags iis

Why do I need code control?

In the process of software development, there are a lot of questions about how the code version of the program often causes redevelopment, or in projects where many people work together to modify the problem of the same common code file, and so on, so here's an example.

For example, UserA and UserB each for their own needs in the common code file Commonfilesa add their own code snippets, after the modification of the code to merge their own to the project manager, the result UserA modified the file, UserB also modified the file, merging the time UserA Copy the file in the past, UserB in UserA after the file also copied the past, at this time UserA file has actually been UserB cover, the end result is UserA code can not run up. In this example, we know that in the process of developing a project together in multiple development, there may be a lot of such files, then it will lead to confusing which code is covered and cause the project file to pass, then we will spend more time on the code merge. Believe this is not a project manager expected, because this will lead to the end result is the project cycle stretched, project cost control and so on a series of problems.

Through the example above, some people may say that this is only a number of people in the process of development will arise, if a person to do a project development, this problem will not appear, so there is no need to do code control, in fact, it is not like this, I repeat their views, Version control of code in a project is one of the key factors in the success of a project. Here we will give an example to illustrate the importance of this point, but also I encountered a problem.

For example, a program written yesterday the compile run is OK, but today we added some functionality on the basis of the original code, we assume that the code is very large, we found that the compilation is not passed, but we do not know what code we write today (because the amount of code is very large), The result is that you don't know how to compare code for different time periods, because it may take half or longer to get back to the function.

The two examples above tell me how code versioning is important, so how do we manage code? In fact, there are many tools of code software, such as CVN, Microsoft source safe,subversion and so on, but the most I know is Subversion. Let's explain the installation and use of subversion.

Two. Subversion Installation and Testing

Subversion is configured in a variety of ways, and can also be configured on different operating systems, this article I will explain the subversion 1.5.4 for Apache2.2 installation under Windows, with the integration of Apache, Subversion can provide services in the form of Web HTTP, which is easy to use in the Internet environment, providing directory and its version control. It is worth noting that subversion has different versions of Apache support, and that the version of Apache must match the version of Apache that the subversion provides, otherwise it will not be configured to work properly. Individuals are kindly consulted on the Subversion official website (http://subversion.tigris.org/).

Install Apache2.2

On the installation of Apache2.2, you can go to the official website download its software http://httpd.apache.org/, after downloading, do not install first, the first thing to do is to stop the IIS (if you have installed), Because the Apache2.2 installation defaults to the IIS 80 port, which conflicts with IIS, after the IIS has been stopped, we can click to install the next step (you can set the path to install) until the installation is complete. After the installation is complete, the following figure shows.

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.