CVS server configuration

xiaoxiao2021-03-06  23

CVS server configuration

CVS wants to do software development, how can you let developers enjoy this convenience? Of course, it is a CVS server. There is a CVSNT under Windows, it is said that there is more problematic. It is of course simple under Linux, and DEBIAN is even more.

Installing CVS Package Apt-Get Install CVS CVSD where CVS is the main program package, CVSD is a PServer of CVS, which is very convenient to manage Repositories and Users, and run CVS services in a more secure form. Pay attention to the installation configuration, set the primary directory of the CVS to NONE, set the main directory of the CVSD to / Home / CVS (or the path you want.). Modify the configuration file to check the /etc/cvsd/cvsd.conf file, confirm that the last few lines are similar to the following form: Rootjail / Home / Cvsrepos / Repos The first line of the first line is your cvsd root directory, the second line is yours Repositories' directory, note that although the absolute path is written, it is actually a path relative to $ cvsdhome, which is herein / home / cvs / repos. Establishing repositories If you select None when configuring your CVSD home directory, you can also create the / home / cvs directory, then execute CVSD-Buildroot / HOME / CVS to build the CVSD root directory file system. Then you create repositories and initialize: MKDIR / HOME / CVS / Reposcvs -d / home / cvs / repos init Add user add users is very simple, similar to other server programs, CVSD can add virtual users based on local users, as follows: Cvsd-passwd / home / cvs / repos cvsuser: cvsdchown -r cvsd.cvsd / home / cvs / repos restart service Finally, we can use /etc/init.d/cvsd restart to restart CVS services. Note that the user still needs to use a relative path when logging in, such as:

CVS -D: PServer: Cvsuser @ localhost: / repos login

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

New Post(0)