How to Setup a CVS server ?

How to setup a cvs server in Ten Steps , its easy and straight forward !!!

cvs is a commonly used version control system like git ( how to configure git server )
 1) yum install cvs  xinetd

2) authconfig-tui

( enable ldap authentiaction if you want to use ldap credentials to access cvs )

3) mkdir /home/cvsroot

4) chown -R root:<ldap group > /home/cvsroot ;  chmod -R 770 /home/cvsroot

5) cvs -d /home/cvsroot init

( create cvs root directory )

6) vi /etc/xinetd.d/cvspserver

  service cvspserver
     {
          port        = 2401
          socket_type = stream
          protocol    = tcp
          wait        = no
          user        = root
          passenv     = PATH
          server      = /usr/bin/cvs
          server_args = -f –allow-root=/srv/cvsroot pserver
     }
# End /etc/xinetd.d/cvspserver

 7) /etc/init.d/xinetd restart

8) chkconfig xinetd on

9)  iptables -I INPUT -s 0/0 -p tcp –dport 2401 -j ACCEPT
( opening cvspserver port for  CVS client/server operations )

10 ) /etc/init.d/iptables save

There are lots of Web interfaces to manage CVS repo and I have configured ViewVc . Its really useful .