Configure CVS in Linux to integrate cvstrac

Source: Internet
Author: User
Article Title: Configure CVS to integrate cvstrac 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. log in with the root account and create the cvsroot account

Adduser cvsroot

Passwd cvsroot

2. Create the cvsroot directory in the root directory

Mkdir cvsroot

3. Change the cvsroot permission and owner.

Chmod 770./cvsroot

Chown cvsroot: cvsroot./cvsroot

4. log on to the cvsroot account and create a warehouse project under cvsroot.

Cvs? D/cvsroot/project init

5. Log On As A root user and configure the cvsroot configuration file in/etc/xinetd. d/as follows:

Service cvspserver

{

Disable = no

Socket_type = stream

Wait = no

User = root

Server =/home/cvsroot. run

Log_on_failure + = USERID

Log_on_success + = USERID

}

6. Add port information to services.

7. log on to/home/cvsroot/as the cvsroot user and add the configuration file cvsroot. run.

#! /Bin/sh

/Usr/bin/cvs \
-F \

-- Allow-root =/cvsroot/project \

-- Allow-root =/cvsroot/Infrastructure \

-- Allow-root =/cvsroot/PortalPlus \
-- Allow-root =/cvsroot/CMS \

-- Allow-root =/cvsroot/SPG \
-- Allow-root =/cvsroot/SMB-Portal \

-- Allow-root =/cvsroot/MQ3 \

-- Allow-root =/cvsroot/PAI \

-- Allow-root =/cvsroot/SPI \

-- Allow-root =/cvsroot/test \

-- Allow-root =/cvsroot/jhgzcx \
-- Allow-root =/cvsroot/LicenseControl \

-- Allow-root =/cvsroot/PortalPlus1 \

-- Allow-root =/cvsroot/gangzhonglv \

-- Allow-root =/cvsroot/CTII \

Pserver

Change the permission to executable chmod + x./cvsroot. run.

 

8. Add a user

Log On As the cvsroot user and copy gen_cvs_pwd.pl to/cvsroot, and change it to an executable file.

9. Log On As A root user and create the cvstrac directory under/usr/local. Change the directory permission to cvsroot.

Chown cvsroot: cvsroot/usr/local/cvstrac


10. Log On As the cvsroot user and copy cvstrac to the cvstrac directory.

11. Decompress cvstrac

12.-create a directory db initialization database under cvstrac

./Cvstrac init/usr/local/cvstrac/db project

13. Create the cvsroottrac file under/etc/xinetd. d.
Service cvsroottrac

{

Socket_type = stream

Wait = no

User = cvsroot

Server =/usr/local/cvstrac

Server_args = http/usr/local/cvstrac/db

}

14. Edit the/etc/services file

Cvsroottrac 8000/tcp

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.