I've just installed CVS on PIII 550. I don't really write so much code to need a versioning system at home, but it's still an interesting experiment and also an easy way to share sources between laptop and desktop computer. I did it mainly following instructions from 
this howto.
first I installed 
CVS and 
XINETD with 
apt-get command:
 
| sudo apt-get install cvs | 
| sudo apt-get install xinetd | 
 then I added to xinetd the cvs configuration file
| vim  /etc/xinetd.d/cvspserver | 
here is the file content
 
| service cvspserver {     port = 2401           socket_type = stream      protocol = tcp      user = root      wait = no      type = UNLISTED      server = /usr/bin/cvs      server_args = -f --allow-root /var/lib/cvs pserver      disable = no } | 
after restarting xinetd: 
  
| sudo /etc/init.d/xinetd start  | 
I added two users to the machine (for the two computers that are going to use CVS) and added them to the src group.
(adding only CVS users would be safer but this is only a home network server so why worry about it?)
 
| sudo adduser --no-create-home eeepc900 sudo adduser --no-create-home sempron2400  sudo addgroup eeepc900 src sudo addgroup sempron2400 src | 
and, at last, I configured Eclipse to use the CVS server
No comments :
Post a Comment