Describes the installation, configuration, and usage of CVS servers

Source: Internet
Author: User
Keywords Server installation use method is
Tags .mall aliyun configuration configure control control tool developers download

CVS is currently a popular and excellent version management and Control tool, and it is deeply loved by most http://www.aliyun.com/zixun/aggregation/7155.html "> developers and system managers, It is also a powerful tool for managing other day-to-day documents. Below, the small set on the CVS server installation, configuration and use of a simple, brief introduction, to help you quickly use CVS to do some version of the management and control work.

1. Installation of CVS server

The CVS server version can be downloaded from many places on the web, or to the official CVS website. Depending on the system you are using, download the appropriate version and install it. Since most people currently use CVS server for versioning under Linux and Redhat Linux is one of the most popular Linux distributions, this article will be based on Redhat Linux.

First download the CVS server RPM package, of course, you can download other ways of the package such as source package, which is one of the advantages of Linux. The following command is then used to install:

RPM-IVH cvs-1.10.8-3.i386.rpm

2. Configure/etc/services Files

The first thing to do after installation is to configure the CVS server configuration file to work properly. First, add cvspserver to the services file to make it a service for Linux, the portal to the CVS server routine, configured as follows:

Cvspserver 2401/TCP # CVS Client/server operations

Cvspserver 2401/UDP # CVS Client/server operations

3, configure xinetd, use xinetd to start the CVS server

Go to the/etc/xinetd.d/directory, and then edit a text file, the name must be consistent with the/etc/services in the entry name Cvspserver, so here with Cvspserver as the file name, the contents of the file are as follows:

Service Cvspserver

{

Disable = no

Socket_type = Stream

wait = no

user = root

env = Home=

Server =/usr/bin/cvs

Server_args =-F--allow-root=/home/cvsroot pserver//Designated authentication method is PServer

}

Note: A, the name behind the service
Be sure to be the same as your CVS service name in the/etc/service file; b, env = home= The purpose of this line is to resolve the error of reading the/root/.cvsignore file that was generated while performing some CVS operations, which means running The CVS service will empty the environment variable home so that although the user performing CVS is root, CVS will not be reading the/root/.cvsignore file because of the absence of a home environment variable.

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.