You'll need the following things in order to set up a secure Pserver:
Of course, you will need to have CVS in order to be running it. You can get it here.
cvsd is a program that will run the CVS Pserver in a chroot jail. You can get it here.
If you want your developers to have secure access to the repository, you'll have to be running an SSH server. However, setting up that access is beyond the scope of this Mini-HOWTO. More information can be found at the CVS-RCS howto.
If you are compiling from the sources, follow these instructions. If you downloaded binaries, skip ahead to Section 2.2.2.
After you have downloaded the CVS sources, unpack them into a directory and cd into it. The default prefix is /usr/local; we've changed it to /usr for this example. You might want to change mandir to wherever your man pages reside (the default is PREFIX/man).
There are a few configure switches you should be aware of here. The default prefix is /usr/local, which in this document we are changing to /usr. You should also change sysconfdir to /etc, where the system config files usually reside. You might want to change mandir to wherever your manual pages reside as well.
Now lets go on to setting up these wonderful tools.