Concurrent Versions System (CVS) Question:
Download Questions PDF

How to setup a CVS server?

CVS Interview Question
CVS Interview Question

Answer:

CVS is not setup as a separate daemon that listens continuously for a connection, it uses Inetd (Internet Daemon) to bind a connection request to the port used for CVS (2401) to the CVS server. The following commands should be executed as root. The file that supplies the information about which ports map to which services is /etc/services, edit this file and add the line:
☛ cvspserver 2401/tcp # CVS Pserver
☛ It may already be listed, in which case, leave it alone. Edit the file /etc/inetd.conf, add the line:
☛ cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/home/jiansen/cvs pserver
☛ This causes inetd to start up a new cvs server and connect the server to the incoming connection request.
☛ killall -HUP inetd
This restarts inetd. Logon to some other machine and test the access using the cvs login command.

Download CVS Interview Questions And Answers PDF

Previous QuestionNext Question
How to let other people join your project?How to access CVS server?