- Variables that might need to be geared towards your own installation:
- INSTALLDIR: the dir where cvsd is installed.
- USERNAME: the name for cvs user to connect to the server.
- install CVS files:
sudo apt-get install cvsinstall CVS server:
sudo apt-get install cvsd
(it is also OK to use aptitude)
When prompted in the cvsd installation process for Repository, type in “/cvsroot”. - Configure CVS
goto /var/lib/cvsd and build the cvsroot:
sudo cvsd-buildroot /var/lib/cvsdcreate the folder cvsroot:
sudo mkdir cvsroot
and then initilize the repository
sudo cvs -d /var/lib/cvsd/cvsroot init
sudo chown -R cvsd:cvsd cvsrootcreate a user and password:
sudo cvsd-passwd /var/lib/cvsd/cvsroot +$USERNAMEand then change the AUTH type:
sudo vi /var/lib/cvsd/cvsroot/CVSROOT/config
uncomment the “SystemAuto=no” line. - Test it
cvs -d :pserver:$USERNAME@localhost:/cvsroot login
cvs -d :pserver:$USERNAME@localhost:/cvsroot checkout .
Friday, February 23, 2007
[Dev Tools] How to setup CVS server on Ubuntu
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment