SU
Check if you install CVS (Redhat default is installed) RPM -QA | GREP CVS
[root @ Terry root] # groupadd cvs [root @ Terry root] # UserAdd -g cvs -s / sbin / nologin cvsroot [root @ Terry root] # chown -r cvsroot / home / cvsroot
CVS initialization: [root @ Terry root] # cvs -d / home / cvsroot init
RedHat7.3 uses the Xinetd method, so adds the service that needs to be started in the xinetd.d directory: cd /etc/xinetd.d vi cvspserver file content: service cvspserver {disable = no flags = reuse socket_type = stream wait = no user = root server = / usr / bin / cvs server_args = -f - allow-root = / home / cvsroot pserver log_on_failure = userid}
If the CVS service is evoiled by my intend, you need to change the service provided by inetd, if your redhat is used in inetd, add the following: CVSPServer Stream TCP NOT / USR / BIN / CVS cvs - allow-root = / home / cvsroot PServer
*** The following error occurs, plus parameters -F ***********
CVS Server: Cannot Open /Root/.cvsignore: Permission Denied
CVS [Server Aborted]: can't chdir (/ root): Permission Denied
*** The following error occurs, plus parameters -F ********* cvs -f - allow-root = / ***
Plus export cvsroot =: pserver: cvsroot@corpsms.swt.com: / home / cvsroot / write / etc / profile
Restart inetd or xinetd /etc/rc.d/init.d/xinetd Restart
Or /etc/rc.d/init.d/inet restart
The client can try to connect with WinCVS or Eclipse, and the command line is cvs -d: pserver: cvsroot@corpsms.swt.com: / home / cvsroot login
Commonly used commands: