I installed CVS Server on Ubuntu 10.04.
CVS repository is copied from another machine, and it is placed in /opt/cvsroot .
Reference:
https://help.ubuntu.com/10.04/serverguide/C/cvs-server.html
# apt-get install xinetd
# apt-cache search git-cvs
# apt-get install git-cvs
# apt-cache search cvsps
# apt-get install cvsps
Edit /etc/xinetd.d/cvspserver .
# vi /etc/xinetd.d/cvspserver
The file now looks:
# cat /etc/xinetd.d/cvspserver
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
user = root
wait = no
type = UNLISTED
server = /usr/bin/cvs
server_args = -f –allow-root /opt/cvsroot pserver
disable = no
}
# /etc/init.d/xinetd restart
Ensure CVS server is running.
# netstat -tap | grep cvs
tcp 0 0 *:cvspserver *:* LISTEN 11676/xinetd