Create the directory you want to contain the repository, typically called CVSHOME
.
Then run the following command to initialize it:
cvs -d [CVSHOME folder] init
And now you are ready to put some code in there.
Example:
mkdir /mnt/data/CVSHOME cvs -d /mnt/data/CVSHOME init