Configure CVS in Linux to integrate cvstrac

Source: Internet
Author: User
& Nbsp; 1. log on with the root account and create the cvsroot account; create the mkdircvsroot3. change the cvsroot permission and the owner chmod770./cvsrootchowncvsroot: cvsroot./cvsroot4  

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 = nosocket_type = streamwait = nouser = rootserver = /home/cvsroot/cvsroot.runlog_on_failure += USERIDlog_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 = streamwait = nouser = cvsrootserver = /usr/local/cvstrac/cvstrac/cvstracserver_args = http /usr/local/cvstrac/cvstrac/db}
        

14. edit the/etc/services File

Cvsroottrac 8000/tcp

Http: // ip: 8000/project/access address

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.