Before you can use CVS, you need to have access to a repository somewhere on some server. It can be on your local system. Once you have a repository, you then create modules inside that repository and do not need to again create a new repository.
To create a new repository, follow these steps:
Choose a directory for a location of your repository, such as /home/cvsroot
As root, execute cvs -d dir init
# mkdir /home/cvsroot # cvs -d /home/cvsroot init # ls -l /home/cvsroot total 4 drwxrwxr-x 3 root root 4096 Jun 9 21:43 CVSROOT #
Check the group permissions on the CVS repository directory to be sure that users are able to import modules into the repository. (Suggest you create a group called 'cvsusers', give group write permission to repository and assign appropriate users to group.)