& 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