Setting up CVS
The following short tutorial walks you through the steps you need to take in order to
setup your CVS Repository so you can start using it.
Fedora cvs server
The following commands were issued to set up the
CVS server.
Complete docs (and they are pretty good)
for
CVS can be found at
https://www.cvshome.org/
[root@fedora home]# useradd cvsadmin -g users
- su to the new user, cvsadmin.
[root@fedora cvsadmin]# su - cvsadmin
- add the directory cvs-server-root, this keeps the home directory for cvsadmin clean and makes
it easy to move the cvsroot if need be. This should create the directory structure /home/cvsadmin/cvs-server-root
(make sure you are in the cvsadmin home directory before issuing this command)
[root@fedora cvsadmin]# mkdir cvs-server-root
- Initialize the CVS server
[root@fedora home]# cvs -d /home/cvsadmin/cvs-server-root init
Thats it, you have a
CVS server set up on fedora.
The cvsroot for this server is /home/cvsadmin/cvs-server-root/.
If you want to set an environment variable for the CVSROOT you can,
[root@fedora cvsadmin]# setenv CVSROOT /home/cvsadmin/cvs-server-root
Good luck!