Installation of CVS under Linux

xiaoxiao2021-03-06  116

1. Download: CVS-1.11.17-1.i386.rpm

2. Installation: rpm -ivh cvs-1.11.17-1.i386.rpm

3. Construction CVS Warehouse: / Home / CVSREPO / PRJ1, and initialize

> MKDIR / HOME / CVSREPO

> Mkdir / home / cvsrepo / prj1

> Cvs -d / home / cvsrepo / prj1 init

4. Allocate permissions: chmod 777 / home / cvsrepo / prj1

5. Configure the PServer

1. Determine / etc / service files

CVSPSERVER 2401 / TCP

2. Add: in the /etc/xinetd.conf file:

Service CVSPServer

{

Port = 2401

Socket_type = stream

Wait = NO

User = root

Server = / usr / bin / cvs

Server_Args = -f - allowow-root = / home / cvsrepo / prj1 - alallow-root = / home / cvsrepo / prj2 PServer

Bind = Host IP

}

6. Restart Xinetd: Service Xinetd Restart

转载请注明原文地址:https://www.9cbs.com/read-100731.html

New Post(0)