Create and use a CVS server

Source: Internet
Author: User
Create and use a CVS server

CVSServer Creation

1.Login as root

2.CreateCVSUser, createCVSGroup

Groupadd CVS

Useradd-G CVS

3.Create a storageCVSContent directory, such/Usr/local/CVS/Repository

4.Initialization

CVS-D/usr/local/CVS/Repository init

CD/usr/local/CVS

Chown-r cvs. CVS Repository

Chmod-r 4774 Repository

5.SetPserverService

ØIn/Etc/servicesAdd:

Cvspserver2401/tcp# CVS client/server operations

Cvspserver2401/udp# CVS client/server operations

ØIn/Etc/xinetd. d/Add files under the DirectoryCvspserver:

Service cvspserver

{

Disable = No

Flags = Reuse

Socket_type = stream

Wait = No

User = root

Server =/usr/bin/CVS

Server_args =-f -- allow-root =/usr/local/CVS/Repository pserver

Log_on_failure + = userid

}

ØRestartXinetd

/Etc/init. d/xinetd restart

6.Client Access

ø Settings cvsroot (cvsuser Yes CVS group member ) :

: Pserver: cvsuser@10.1.84.77:/opt/OSP/CVS/Repository

ØLogin

CVS Login

ØCommon commands

I. Import A new project: put all the content in the current directory into the project name CVS Directory: /Usr/local/CVS/Repository/ Project name / All contents in the current directory

CVS import-M "new app"Project name Company NameStart

II. checkin checkout commit omitted

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.