Detailed explanation of the SVN server construction process in Linux

Source: Internet
Author: User
Article Title: detailed explanation of the SVN server construction process in Linux. 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.

  1 environment:

The server is placed on redhatAS4.0, and the client is on windows 2000.

  2 software packages

2.1 Server:

Subversion-1.3.2-1.rh90.i386.rpm. Other dependent components may also be used, in my configuration: apr-0.9.5-0.2.i386.rpm, neon-0.24.7-1.i386.rpm, apr-util-0.9.5-0.1.i386.rpm.

2.2 client:

TortoiseSVN-1.3.2.5840-svn-1.3.0

  3. Install the server

[Root @ localhost root] # rpm? Ivh apr-0.9.5-0.2.i386.rpm

[Root @ localhost root] # rpm? Ivh neon-0.24.7-1.i386.rpm

[Root @ localhost root] # rpm? Ivh apr-util-0.9.5-0.1.i386.rpm

[Root @ localhost root] # rpm? Ivh subversion-1.3.2-1.rh90.i386.rpm

After the installation is complete, to test whether the installation is successful, enter the following command:

[Root @ localhost root] # svnserve? Version

If the following figure is displayed, the installation is successful:

Svnserve, version 1.4.0 (r21228)

Compiled Oct 12 2006, 10:18:56

Copyright (C) 2000-2006 CollabNet.

Subversion is open source software, see http://subversion.tigris.org/

This product has DES software developed by CollabNet (http://www.Collab.Net /).

The following repository back-end (FS) modules are available:

* Fs_fs: Module for working with a plain file (FSFS) repository.

  4 Svn Configuration

4.1 create a version library directory

[Root @ localhost root] # mkdir? P/svn

Svn is a directory created by myself. Each user designs a name based on the actual situation.

4.2 create a user and use and manage the version library directory

[Root @ localhost root] # useradd-m-s/bin/bash lyl

Lyl is the created user name, which can be changed according to your habits.

4.3 Use the created user to manage the version library directory we just created

[Root @ localhost root] # chown? R lyl. lyl/svn

Use lyl to manage our version library directory/svn

4.4 start the server

If you use lyl to manage the version library directory/svn, you must convert it to lyl. The command is as follows:

[Root @ localhost root] # su lyl

Start svn Service

[Root @ localhost root] # svnserve-d-r/svn /;

-D Indicates running in daemon mode (running in the background)

-R/svn/Specify the root directory as/svn/

Check whether the server is properly started:

[Svn_leader @ localhost root] $ ps? Ef | grep svnserve

If the following information is displayed, the instance is successfully started:

Lyl 6941 1 0? 00:00:00 svnserve-d -- listen-port 9999-r/svn

[1] [2] [3] Next page

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.