Use open-source software Subversion for personal document management

Source: Internet
Author: User
Tags subversion client wiki software
Article Title: use the open-source software Subversion for personal document management. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

There is an open-source version of the control system, or a version of the control system, called Subversion (svn for short), is rapidly gaining popularity among developers. It has a good reputation and can be downloaded online. It is completely free of charge, and many words praise it for its efficiency and practicality. It is stable, flexible, competent, secure, free, open-source, and can be used in any scale of projects.

In the past, the Star software of the control System was CVS, all called the Concurrent Versioning System ). The emergence of Subversion was just to build a solid and respectable Foundation for the distinguished CVS, and to improve it based on the experience accumulated by the CVS users over the years. It is so successful in many ways that its popularity is evidence.

The use of Subversion is almost transparent, with a large number of available customer applications across multiple operating system platforms, as well as the low cost, ease of management and other factors of Subversion, making it no longer just used to manage source code. Subversion provides a nearly real-time backup system for the directory structure that can be described as a "project" or "project set. More and more users of BSD, Linux, and OpenSolaris also use the Version Control Function of Subversion to save the file directory.

  Install

When Windows provides a step-by-step installation method, the rapid popularity of Subversion in the open-source community is definitely related to its ease of use in BSD and Linux software archives. For example, to install Subversion in Debian GNU/Linux, you only need to use the management interface, command statements, and command line client. You only need to log on as the root user, enter apt to install the subversion.

Similarly, to install the Subversion in the YUM Package Manager of the standard Fedora Core Linux, you only need to run the command yum. For FreeBSD, you can use pkg or-C/usr/ports/devel/subversion to install FreeBSD. The method to install FreeBSD depends on whether you want to install FreeBSD from binary software or source code. Even MacOS X provides software files that can install Subversion.

In some cases, the version control function of subversion is much better than that of many common backup tools. The most prominent of course is the source code control in software development projects. The other is document management. Due to user activities, the content of documents and directories may change frequently, forcing developers to delete some modifications in one way and look at the previous versions. It is generally implemented through changelog. In the version control system, the professional name is "revision record ".

An automatic revision record management mechanism may be very familiar to non-professional programmers, because the most famous wiki software uses this technology to track content changes, and can remove bad changes through the return.

As part of the Revision record mechanism, a version control system such as Subversion not only maintains the central database that copies the current version file, but also maintains the revision logs that have been performed since the file enters version control. Anyone who has been engaged in software development for a long time can tell you how important it is to be able to return to a known good state. This is the central task of any version control software: it is also the main reason for their existence.

Subversion has more features. For example, when two people edit the same file at the same time, it can solve the version conflict problem. In the real world, users who have rich practical experience and often submit work in version control files and update local files before submitting changes rarely conflict with others' work. In this rare case, the Subversion can also be resolved through the built-in conflict solution. It also supports the connection between the modified branches of the primary development line and other development branches, and the verification and upgrade licenses for users of different degrees, and some other project managers will find very useful performance.

  Personal File Management

Another use of version control systems is that they allow you to develop the same project with multiple computers in different locations without using any USB storage device or CD-RW media. You can find the latest version of the project and start working as long as you have installed the version control agent on your computer and logged on to the server where version control magic works.

Because different copies of the same data are automatically synchronized when the verification copy is updated to different client computers, a control system such as Subversion can also be used as a backup system for collected documents. This includes your daily personal documents and source code. That is to say, if you think of any small data set that requires no bandwidth for weekly backup as a "project ", the Subversion can be used to save the data replication time. The personal document directory is generally very suitable for this feature, especially when most of the files you save are music files, videos, high-definition images, and other files of a few megabytes, it is absolutely applicable.

If you are a user who understands the importance of daily backup in preventing hardware and file system faults, you will find that what you do is just a routine backup, because the operation of Sebversion is performed on the traditional backup system configuration and replication of data to the CD-R. Subversion's simple personal file backup can save a lot of time, or at least free you from the burden of delayed backup, all you need is another computer that runs the Subversion server software.

Because Subversion does not specify a single purpose as the graphical interface of exclusive software such as Visual SourceSafe and ClearCase, it can be easily used in some non-standard use cases, such as standard document control. You still have your own GUI environment, but because there are a lot of GUI client software for Subversion, and Subversion is also integrated into many other GUI tools, such as Eclipse, you even access Microsoft's Resource Manager through the TortoiseSVN client.

  Configuration and installation

The most likely case for document management using Subversion is to use TortoiseSVN in Microsoft Windows or the Subversion client software in a free software management tool for UNIX-like operating systems. To install the basic Subversion, you can find the server software, command line client, and management tools in the BSD or Linux software archives. Therefore, if you do not need a graphical user interface, you do not need to install any software.

Install Subversion on Microsoft's Windows server. You may use the SVN 1-Click Setup installer provided on the Tigris.org website, the maintainer of the Subversion project. Many Microsoft Windows users who use Subversion use BSD servers instead of Windows servers.

After the server software is installed on the server, you need to create a version control knowledge base. The following example assumes a UNIX-like shell command environment. The statements in arc can be changed as needed. Do not enter arc in the operation. "#" Indicates that you log on as the root user or use sudo for administrator access. Enter the userid value of the subversion knowledge base you want to access in [nnnn.

 

[1] [2] Next page

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.