Projects - CVS Server
CVS is a version control system, an important component of Source Configuration Management (SCM). I always knew it, however, I used it just a few days ago.
Most of GNU/Linux distros have cvs installed as default, however if you are unlucky to type cvs with the response of
bash: cvs: command not found
you should check your Linux Install CD or download from the Internet.1
The first thing to use cvs is to configure the CVS Server on your Linux system, and this is whole process to configure CVS server on my Slackware Linux system.
#groupadd cvs
#useradd -g cvs -p ****** -s /bin/bash cvsroot
#mkdir /home/cvsroot #chown cvsroot:cvs /home/cvsroot #chmod 771 /home/cvsroot
#su cvsroot #cvs -d /home/cvsroot init
cvspserver stream tcp nowait root /usr/bin/cvs cvs -f --allow-root=/home/cvsroot pserver
cvspserver 2401/tcp #CVS network server
... ... cvs:x:103:user
export CVSROOT=":pserver:${USER}@${HOSTNAME}:/home/cvsroot"
then execute
#. ~/.bashrc
#/etc/rc.d/rc.inetd restart
#cvs login Password: xxxxxx #cd /path/to/your/project
#cvs -import -m "My Project: project_name" project_name vendor_tag release_tag
#cd /path/to/your/cvsWorkSpace/ #cvs checkout project_name
#cvs commit -m "Made some useful changes on some files"
#cvs commit -m "Add two files: file_add_1 and file_add_2" file_add_1 file_add_2
#rm file_delete #cvs remove file_delete #cvs commit -m "Delete a file: file_delete" file_delete
#cvs tag release0-1
#cvs checkout -r release0-1 project_name
#cvs update
#cvs diff file_name
You should set up an example project to test CVS server refer to Using section. And then read more materials about how to use cvs.