Linux setup a Concurrent Versioning System (CVS) howto
Q. I am planning to use Concurrent Versioning System. I am using both Red Hat and Fedora Linux. How do I setup a CVS server?
A. Concurrent Versioning System (CVS) a widely used version control system for software development or data archiving solutions.
From the wiki page, "CVS keeps track of all work and all changes in a set of files, typically the implementation of a software project, and allows several (potentially widely separated) developers to collaborate".
CVS Configuration - Install CVS
Use rpm or up2date or yum command to install cvs:# rpm -ivh cvs*OR# up2date cvsOR# yum install cvsCreate a CVS user# useradd cvsAbove command will create a user cvs and group cvs with /home/cvs home directory.
# passwd cvs
Configure CVS
Open /etc/profile and append following line:# vi /etc/profileAppend following line:export CVSROOT=/home/cvsSave the file and exit to shell promot.
Make sure your /etc/xinetd.d/cvs looks as follows:# less /etc/xinetd.d/cvsOutput:
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = cvs
group = cvs
log_type = FILE /var/log/cvspserver
protocol = tcp
env = '$HOME=/home/cvsroot'
bind = 192.168.1.100
log_on_failure += USERID
port = 2401
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
}
Note: Replace 192.168.1.100 with your actual server IP address.
Restart xinetd:# service xinetd restartAdd users to this group (see this howto for more info)# adduser username -g cvsClient configuration
# passwd username
Finally user can connect to this CVS server using following syntax:
$ export CVSROOT=:pserver:vivek@192.168.1.100:/home/cvs
$ cvs loginWhere,
- vivek - username
- 192.168.1.100 - CVS server IP
See also:
- CVS web site and documentation
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- VSFTPD limit the number of simultaneous vsftpd connections for a single IP address
- Red Hat / CentOS Linux Setting a Default Gateway
- Linux Setting up a software RAID1 system for a complete mirror
- Linux / UNIX Setup and run php script as a cron job
- Linux setup shared directory
Discussion on This FAQ
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
~ Last updated on: October 19, 2006


May 9th, 2008 (6 days ago) at 6:30 pm
thank you